[gvfs/gdbus: 24/30] gdbus: Use g_dbus_connection_set_exit_on_close() where applicable



commit e494894f5b5048de98dc571235be286cca24b526
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Wed May 16 15:17:06 2012 +0200

    gdbus: Use g_dbus_connection_set_exit_on_close() where applicable

 monitor/proxy/gproxyvolumemonitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/monitor/proxy/gproxyvolumemonitor.c b/monitor/proxy/gproxyvolumemonitor.c
index 57c127c..3fcc40a 100644
--- a/monitor/proxy/gproxyvolumemonitor.c
+++ b/monitor/proxy/gproxyvolumemonitor.c
@@ -1404,7 +1404,7 @@ g_proxy_volume_monitor_setup_session_bus_connection (void)
       g_error_free (error);
       goto out;
     }
-  g_object_set (the_session_bus, "exit-on-close", FALSE, NULL);
+  g_dbus_connection_set_exit_on_close (the_session_bus, FALSE);
 
   the_volume_monitors = g_hash_table_new (g_direct_hash, g_direct_equal);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]