diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-07-18 22:43:41 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-07-18 22:43:41 +0000 |
commit | b613a74cb20a480f9d95579243278660af300cee (patch) | |
tree | 47e7d815d87e40af35640ef13fb494282518f53c /gtk/gtkdialog.c | |
parent | f500db339a6db572819663947933396cf79c3534 (diff) | |
download | gtk+-b613a74cb20a480f9d95579243278660af300cee.tar.gz |
Fix idles and timeouts to be properly surrounded by
Wed Jul 18 18:23:05 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c gtk/gtkentry.c gtk/gtkmenu.c gtk/gtktextview.c
gtktreeview.c: Fix idles and timeouts to be properly surrounded by
GDK_THREADS_ENTER()/LEAVE() pairs.
* gtk/gtkdialog.c gtk/gtkclipboard.c: Surround calls
to g_main_loop_run() with GDK_THREADS_LEAVE()/ENTER()
pairs. (Problem found by M. Meeks)
Diffstat (limited to 'gtk/gtkdialog.c')
-rw-r--r-- | gtk/gtkdialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 4dba60f1b5..3a3c49bc97 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -878,7 +878,9 @@ gtk_dialog_run (GtkDialog *dialog) ri.loop = g_main_new (FALSE); + GDK_THREADS_LEAVE (); g_main_loop_run (ri.loop); + GDK_THREADS_ENTER (); g_main_loop_unref (ri.loop); |