summaryrefslogtreecommitdiffstats
path: root/src/polyp/glib-mainloop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/polyp/glib-mainloop.h')
-rw-r--r--src/polyp/glib-mainloop.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/polyp/glib-mainloop.h b/src/polyp/glib-mainloop.h
index e052cff3..b7717685 100644
--- a/src/polyp/glib-mainloop.h
+++ b/src/polyp/glib-mainloop.h
@@ -32,18 +32,18 @@
PA_C_DECL_BEGIN
-/** \struct pa_glib_mainloop
- * An opaque GLIB main loop object */
+/** An opaque GLIB main loop object */
typedef struct pa_glib_mainloop pa_glib_mainloop;
-/** Create a new GLIB main loop object for the specified GLIB main loop context. If c is NULL the default context is used. */
+/** Create a new GLIB main loop object for the specified GLIB main
+ * loop context. The GLIB 2.0 version takes an argument c for the
+ * GMainContext to use. If c is NULL the default context is used. */
#if GLIB_MAJOR_VERSION >= 2
pa_glib_mainloop *pa_glib_mainloop_new(GMainContext *c);
#else
pa_glib_mainloop *pa_glib_mainloop_new(void);
#endif
-
/** Free the GLIB main loop object */
void pa_glib_mainloop_free(pa_glib_mainloop* g);