From 410a80c43126376e9308a03a7cef108716018f5a Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Tue, 29 Apr 2003 22:57:13 +0000 Subject: 2003-04-29 Havoc Pennington * 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 --- glib/dbus-gmain.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'glib/dbus-gmain.c') 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; -- cgit