From 7a0bddd768b8f88c94ecf15ac026cad16af4e7f4 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Wed, 18 Jan 2012 10:14:37 +0000 Subject: [PATCH] GDBusConnection: note that exit-on-close is sometimes TRUE g_bus_get_finish() and g_bus_get_sync() both document that the returned object will usually have exit-on-close set to TRUE, but the property's documentation specified that its default is FALSE. While that's technically true from a GObject perspective, it's not accurate from the API user's perspective. https://bugzilla.gnome.org/show_bug.cgi?id=668163 Reviewed-by: Simon McVittie Reviewed-by: David Zeuthen --- gio/gdbusconnection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gio/gdbusconnection.c b/gio/gdbusconnection.c index 849d287..46ff89f 100644 --- a/gio/gdbusconnection.c +++ b/gio/gdbusconnection.c @@ -956,6 +956,9 @@ g_dbus_connection_class_init (GDBusConnectionClass *klass) * calling raise(SIGTERM)) if the connection * is closed by the remote peer. * + * Note that #GDBusConnection objects returned by g_bus_get_finish() and + * g_bus_get_sync() will (usually) have this property set to %TRUE. + * * Since: 2.26 */ g_object_class_install_property (gobject_class, -- 2.7.4