gvfs r1751 - in trunk: . client hal



Author: matthiasc
Date: Mon Apr 21 14:47:22 2008
New Revision: 1751
URL: http://svn.gnome.org/viewvc/gvfs?rev=1751&view=rev

Log:
2008-04-21  Matthias Clasen  <mclasen redhat com>

        * client/gdaemonvfs.c:
        * hal/hal-pool.c: Set exit-on-disconnect to FALSE on private
        dbus connections to prevent unexpected exits.  (#528785)




Modified:
   trunk/ChangeLog
   trunk/client/gdaemonvfs.c
   trunk/hal/hal-pool.c

Modified: trunk/client/gdaemonvfs.c
==============================================================================
--- trunk/client/gdaemonvfs.c	(original)
+++ trunk/client/gdaemonvfs.c	Mon Apr 21 14:47:22 2008
@@ -298,6 +298,8 @@
   
   vfs->wrapped_vfs = g_vfs_get_local ();
 
+  dbus_connection_set_exit_on_disconnect (vfs->async_bus, FALSE);
+
   _g_dbus_connection_integrate_with_main (vfs->async_bus);
 
   modules = g_io_modules_load_all_in_directory (GVFS_MODULE_DIR);

Modified: trunk/hal/hal-pool.c
==============================================================================
--- trunk/hal/hal-pool.c	(original)
+++ trunk/hal/hal-pool.c	Mon Apr 21 14:47:22 2008
@@ -308,6 +308,8 @@
       goto out;
     }
   
+  dbus_connection_set_exit_on_disconnect (dbus_connection, FALSE);
+
   hal_ctx = libhal_ctx_new ();
   if (hal_ctx == NULL)
     {



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