diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-23 11:22:40 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-23 11:22:40 +0800 |
commit | e1ec30b818246380b0213dfdc1353635b1b7bc49 (patch) | |
tree | 56c4340649468329f5370f9bb1b50d72bb9f7c11 /x11-toolkits/libgnomeui/files | |
parent | 1d58b39ab4187dddad75379fb1b1799099155ac4 (diff) | |
download | marcuscom-ports-e1ec30b818246380b0213dfdc1353635b1b7bc49.tar marcuscom-ports-e1ec30b818246380b0213dfdc1353635b1b7bc49.tar.gz marcuscom-ports-e1ec30b818246380b0213dfdc1353635b1b7bc49.tar.bz2 marcuscom-ports-e1ec30b818246380b0213dfdc1353635b1b7bc49.tar.lz marcuscom-ports-e1ec30b818246380b0213dfdc1353635b1b7bc49.tar.xz marcuscom-ports-e1ec30b818246380b0213dfdc1353635b1b7bc49.tar.zst marcuscom-ports-e1ec30b818246380b0213dfdc1353635b1b7bc49.zip |
Fix a potential startup crash in some multi-threaded GNOME apps.
PR: 71439
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3009 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/libgnomeui/files')
-rw-r--r-- | x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-ice.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-ice.c b/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-ice.c new file mode 100644 index 000000000..8c5bbd501 --- /dev/null +++ b/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-ice.c @@ -0,0 +1,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; + } |