[Goodies-commits] r5035 - xfburn/trunk/xfburn

David Mohr squisher at xfce.org
Wed Jul 9 02:52:31 CEST 2008


Author: squisher
Date: 2008-07-09 00:52:31 +0000 (Wed, 09 Jul 2008)
New Revision: 5035

Modified:
   xfburn/trunk/xfburn/xfburn-data-composition.c
Log:
Bugfix for bugfix of rev. 5033

Modified: xfburn/trunk/xfburn/xfburn-data-composition.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-data-composition.c	2008-07-08 20:24:24 UTC (rev 5034)
+++ xfburn/trunk/xfburn/xfburn-data-composition.c	2008-07-09 00:52:31 UTC (rev 5035)
@@ -619,7 +619,6 @@
   GtkTreePath *current_path = NULL;
   GtkTreeIter current_iter;
   
-  gdk_threads_enter ();
   current_path = gtk_tree_path_copy (path);
   for (;gtk_tree_path_prev (current_path););
    
@@ -636,7 +635,6 @@
       if (strcmp (current_filename, filename) == 0) {
         g_free (current_filename);
         gtk_tree_path_free (current_path);
-        gdk_threads_leave ();
         return TRUE;
       }
       
@@ -646,7 +644,6 @@
   }
   
   gtk_tree_path_free (current_path);
-  gdk_threads_leave ();
   return FALSE;
 }
 
@@ -1065,6 +1062,7 @@
       xfce_err (_("A file with the same name is already present in the composition"));
 
       gtk_tree_path_free (tree_path);
+      gdk_threads_leave ();
       g_free (parent);
       return FALSE;
     }




More information about the Goodies-commits mailing list