summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libgnomeui/files/patch-libgnomeui::gnome-ice.c
blob: 160e5ad9b834e6d4f800d5cc581667913b33cb4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- libgnomeui/gnome-ice.c.orig Sun Mar 20 20:33:56 2005
+++ libgnomeui/gnome-ice.c  Sun Mar 20 20:34:21 2005
@@ -54,6 +54,8 @@
   IceConn connection = (IceConn) data;
   IceProcessMessagesStatus status;
 
+  GDK_THREADS_ENTER();
+
   status = IceProcessMessages (connection, NULL, NULL);
 
   if (status == IceProcessMessagesIOError)
@@ -73,6 +75,8 @@
      IceCloseConnection (connection);
    }
     }
+
+  GDK_THREADS_LEAVE();
 
   return TRUE;
 }