diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-29 22:57:13 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-29 22:57:13 +0000 |
commit | 410a80c43126376e9308a03a7cef108716018f5a (patch) | |
tree | b4b738625725848c00f30c81dd6e5aad169e2c3b /glib/dbus-gmain.c | |
parent | ae759bff511cfbd28bdb668a532ba9169d05af2d (diff) |
2003-04-29 Havoc Pennington <hp@redhat.com>
* glib/dbus-gmain.c: docs cleanups
* dbus/dbus-types.h: add docs on int64 types
* dbus/dbus-memory.c: fix docs to avoid putting private API in
public API docs section
Diffstat (limited to 'glib/dbus-gmain.c')
-rw-r--r-- | glib/dbus-gmain.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/glib/dbus-gmain.c b/glib/dbus-gmain.c index dd9ea375..c120a6c1 100644 --- a/glib/dbus-gmain.c +++ b/glib/dbus-gmain.c @@ -394,8 +394,11 @@ create_source (void *connection_or_server, /** * Sets the watch and timeout functions of a #DBusConnection * to integrate the connection with the GLib main loop. + * Pass in #NULL for the #GMainContext unless you're + * doing something specialized. * * @param connection the connection + * @param context the #GMainContext or #NULL for default context */ void dbus_connection_setup_with_g_main (DBusConnection *connection, @@ -446,11 +449,14 @@ dbus_connection_setup_with_g_main (DBusConnection *connection, /** * Sets the watch and timeout functions of a #DBusServer * to integrate the server with the GLib main loop. + * In most cases the context argument should be #NULL. * * @param server the server + * @param context the #GMainContext or #NULL for default */ void -dbus_server_setup_with_g_main (DBusServer *server, GMainContext *context) +dbus_server_setup_with_g_main (DBusServer *server, + GMainContext *context) { GSource *source; |