gvfs r1392 - in trunk: . daemon



Author: alexl
Date: Tue Feb 26 11:34:16 2008
New Revision: 1392
URL: http://svn.gnome.org/viewvc/gvfs?rev=1392&view=rev

Log:
2008-02-26  Alexander Larsson  <alexl redhat com>

	* daemon/gvfsjobmount.c (run):
	No need to ref backend specifically now, as
	the core refs the job and the job refs the
	backend. Revert that change.



Modified:
   trunk/ChangeLog
   trunk/daemon/gvfsjobmount.c

Modified: trunk/daemon/gvfsjobmount.c
==============================================================================
--- trunk/daemon/gvfsjobmount.c	(original)
+++ trunk/daemon/gvfsjobmount.c	Tue Feb 26 11:34:16 2008
@@ -110,13 +110,11 @@
       return;
     }
   
-  g_object_ref (backend);
   class->mount (backend,
 		op_job,
 		op_job->mount_spec,
 		op_job->mount_source,
 		op_job->is_automount);
-  g_object_unref (backend);
 }
 
 static gboolean
@@ -130,13 +128,11 @@
   if (class->try_mount == NULL)
     return FALSE;
 
-  g_object_ref (backend);
   result = class->try_mount (backend,
 			     op_job,
 			     op_job->mount_spec,
 			     op_job->mount_source,
 			     op_job->is_automount);
-  g_object_unref (backend);
   return result;
 }
 



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