aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libgnomeui/files/patch-file-chooser::gtkfilesystemgnomevfs.c
blob: 9afa5350522e21d2234cdd971d7a038eaee98784 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- file-chooser/gtkfilesystemgnomevfs.c.orig   Sun Mar 20 20:58:22 2005
+++ file-chooser/gtkfilesystemgnomevfs.c    Sun Mar 20 20:59:03 2005
@@ -2536,13 +2536,20 @@
   GtkFileSystemGnomeVFS *system_vfs;
   GConfValue *value;
 
+  GDK_THREADS_ENTER();
+
   system_vfs = GTK_FILE_SYSTEM_GNOME_VFS (data);
 
   if (strcmp (gconf_entry_get_key (entry), BOOKMARKS_KEY) != 0)
-    return;
+    {
+      GDK_THREADS_LEAVE();
+      return;
+    }
 
   value = gconf_entry_get_value (entry);
   set_bookmarks_from_value (system_vfs, value, TRUE);
+
+  GDK_THREADS_LEAVE();
 }
 #endif