gvfs r1744 - in branches/gnome-2-22: . daemon



Author: matthiasc
Date: Thu Apr 17 03:49:36 2008
New Revision: 1744
URL: http://svn.gnome.org/viewvc/gvfs?rev=1744&view=rev

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

        Bug 526793 â unmount hangs with some backends

        * daemon/gvfsbackendgphoto2.c: Set exit-on-disconnect to FALSE
        on the private dbus connection to prevent unexpected exit before
        the job is done.




Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/daemon/gvfsbackendgphoto2.c

Modified: branches/gnome-2-22/daemon/gvfsbackendgphoto2.c
==============================================================================
--- branches/gnome-2-22/daemon/gvfsbackendgphoto2.c	(original)
+++ branches/gnome-2-22/daemon/gvfsbackendgphoto2.c	Thu Apr 17 03:49:36 2008
@@ -1394,6 +1394,8 @@
       return;
     }
   
+  dbus_connection_set_exit_on_disconnect (gphoto2_backend->dbus_connection, FALSE);
+
   gphoto2_backend->hal_ctx = libhal_ctx_new ();
   if (gphoto2_backend->hal_ctx == NULL)
     {



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