From 9c0fbaf07c7b67da0b88aeac34b58ebac9a39819 Mon Sep 17 00:00:00 2001
From: David Hedbor <david@hedbor.org>
Date: Fri, 28 Apr 2000 13:34:51 -0700
Subject: [PATCH] Call g_main_iteration in non-blocking mode to avoid blocking
 Pike on rare occasions (in socket_ready_callback).

Rev: src/post_modules/GTK/source/global.pre:1.11
---
 src/post_modules/GTK/source/global.pre | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/post_modules/GTK/source/global.pre b/src/post_modules/GTK/source/global.pre
index edeb1e579d..97f9493289 100644
--- a/src/post_modules/GTK/source/global.pre
+++ b/src/post_modules/GTK/source/global.pre
@@ -7,7 +7,7 @@ endrequire;
 int pigtk_is_setup = 0, gnome_is_setup = 0;
 static void socket_ready_callback(int fd, void *f)
 {
-  g_main_iteration(1);
+  g_main_iteration(0);
 }
 
 /* Not used in this file, really, but we need the require
-- 
GitLab