summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libgnomeui/files/patch-libgnomeui::gnome-gconf-ui.c
blob: 5713fbd49d153e9227cc8176cad50a034f73bb38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- libgnomeui/gnome-gconf-ui.c.orig    Sun Mar 20 20:38:41 2005
+++ libgnomeui/gnome-gconf-ui.c Sun Mar 20 20:39:51 2005
@@ -148,6 +148,8 @@
         g_return_val_if_fail(eid.client != NULL, FALSE);
         g_return_val_if_fail(pending_errors != NULL, FALSE);
 
+        GDK_THREADS_ENTER();
+
         if (current_dialog == NULL) {
                 GtkWidget *dialog;
                 gboolean have_overridden = FALSE;
@@ -245,6 +247,8 @@
 
         gtk_window_present (GTK_WINDOW (current_dialog));
         
+        GDK_THREADS_LEAVE();
+
         return FALSE;
 }