summaryrefslogtreecommitdiff
path: root/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-ice.c
blob: 8c5bbd5013983b31c33a70e96d32cc36a909defb (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	Fri Oct 22 23:22:11 2004
+++ libgnomeui/gnome-ice.c	Fri Oct 22 23:22:38 2004
@@ -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;
 }