diff options
author | Xabier Rodriguez Calvar <xrcalvar@igalia.com> | 2009-06-30 18:20:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-20 02:30:54 +0200 |
commit | 30ba9030efea782779cac6f107b8917572150d16 (patch) | |
tree | 7b46505e8cd77864e64184bb17d5d99330f8fd9b /src | |
parent | c5bd72509ecae1c12bb523fa56432fd71428fbf1 (diff) |
Modification of the glib-mainloop doc to ensure that nobody frees the api as it is owned by the loop.
Diffstat (limited to 'src')
-rw-r--r-- | src/pulse/glib-mainloop.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulse/glib-mainloop.h b/src/pulse/glib-mainloop.h index 189513a8..67aba27d 100644 --- a/src/pulse/glib-mainloop.h +++ b/src/pulse/glib-mainloop.h @@ -56,7 +56,9 @@ pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c); /** Free the GLIB main loop object */ void pa_glib_mainloop_free(pa_glib_mainloop* g); -/** Return the abstract main loop API vtable for the GLIB main loop object */ +/** Return the abstract main loop API vtable for the GLIB main loop + object. No need of freeing the API as it is owned by the loop and + it is destroyed when this dies */ pa_mainloop_api* pa_glib_mainloop_get_api(pa_glib_mainloop *g); PA_C_DECL_END |