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/gtkimage.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/gtkimage.c')
-rw-r--r-- | gtk/gtkimage.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c index 0188d8c2b8..bafb38b63e 100644 --- a/gtk/gtkimage.c +++ b/gtk/gtkimage.c @@ -844,6 +844,8 @@ animation_timeout (gpointer data) { GtkImage *image; + GDK_THREADS_ENTER (); + image = GTK_IMAGE (data); image->data.anim.frame_timeout = 0; @@ -858,6 +860,8 @@ animation_timeout (gpointer data) gtk_widget_queue_draw (GTK_WIDGET (image)); + GDK_THREADS_LEAVE (); + return FALSE; } |