gvfs r1570 - in trunk: . client
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1570 - in trunk: . client
- Date: Thu, 6 Mar 2008 09:00:09 +0000 (GMT)
Author: alexl
Date: Thu Mar 6 09:00:09 2008
New Revision: 1570
URL: http://svn.gnome.org/viewvc/gvfs?rev=1570&view=rev
Log:
2008-03-06 Alexander Larsson <alexl redhat com>
* client/gdaemonmount.c:
(foreign_volume_removed):
Avoid deadlock when foreign volume is removed.
Modified:
trunk/ChangeLog
trunk/client/gdaemonmount.c
Modified: trunk/client/gdaemonmount.c
==============================================================================
--- trunk/client/gdaemonmount.c (original)
+++ trunk/client/gdaemonmount.c Thu Mar 6 09:00:09 2008
@@ -191,7 +191,10 @@
g_object_ref (daemon_mount);
if (daemon_mount->foreign_volume == volume)
- g_daemon_mount_set_foreign_volume (daemon_mount, NULL);
+ {
+ g_object_unref (daemon_mount->foreign_volume);
+ daemon_mount->foreign_volume = NULL;
+ }
G_UNLOCK (daemon_mount);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]