From d9ea18503bbc05f5fa5bc3d27d8c7e42612a2d46 Mon Sep 17 00:00:00 2001 From: Lance Dillon <riffraff169@yahoo.com> Date: Sat, 5 Aug 2006 18:23:11 -0500 Subject: [PATCH] Main iteration changed at GTK 2.2 Rev: src/post_modules/GTK2/source/global.pre:1.13 --- src/post_modules/GTK2/source/global.pre | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/post_modules/GTK2/source/global.pre b/src/post_modules/GTK2/source/global.pre index 37053095ad..7ffb326f0a 100644 --- a/src/post_modules/GTK2/source/global.pre +++ b/src/post_modules/GTK2/source/global.pre @@ -65,7 +65,11 @@ static void backend_callback(struct callback *_cb, if (my_timercmp (&timeout, <, &next_timeout)) next_timeout = timeout; } else +#ifdef HAVE_GTK22 + while(g_main_context_iteration(NULL,0)); +#else while(g_main_iteration( 0 ) ); +#endif } static struct callback *backend_cb; -- GitLab