summaryrefslogtreecommitdiff
path: root/x11-toolkits/libgnomeui/files/patch-libgnomeui::gnome-pixmap-entry.c
blob: 46fc0489b807d5d05661d0629c5644100b9e07c8 (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
25
--- libgnomeui/gnome-pixmap-entry.c.orig	Sun Mar 20 20:34:49 2005
+++ libgnomeui/gnome-pixmap-entry.c	Sun Mar 20 20:38:30 2005
@@ -237,6 +237,8 @@
 {
 	GSList *li,*tmp;
 
+	GDK_THREADS_ENTER();
+
 	tmp = changed_pentries;
 	changed_pentries = NULL;
 	if(tmp) {
@@ -244,9 +246,13 @@
 			refresh_preview(li->data);
 		}
 		g_slist_free(tmp);
+
+		GDK_THREADS_LEAVE();
 		return TRUE;
 	}
 	change_timeout = 0;
+
+	GDK_THREADS_LEAVE();
 
 	return FALSE;
 }