app/widgets/gimpthumbbox.c libgimp/gimpprogressbar.c use Gtk functions to
2007-05-16 Michael Natterer <mitch@gimp.org> * app/widgets/gimpthumbbox.c * libgimp/gimpprogressbar.c * plug-ins/script-fu/script-fu-interface.c: use Gtk functions to manually iterate the main loop because they release the Gdk lock correctly around calling the GLib main loop functions. svn path=/trunk/; revision=22516
This commit is contained in:

committed by
Michael Natterer

parent
8444fb1ecb
commit
8de797e0fa
@ -598,8 +598,8 @@ gimp_thumb_box_create_thumbnails (GimpThumbBox *box,
|
||||
|
||||
gimp_progress_set_value (progress, 0.0);
|
||||
|
||||
while (g_main_context_pending (NULL))
|
||||
g_main_context_iteration (NULL, FALSE);
|
||||
while (gtk_events_pending ())
|
||||
gtk_main_iteration ();
|
||||
|
||||
gimp_thumb_box_create_thumbnail (box,
|
||||
list->data,
|
||||
@ -619,8 +619,8 @@ gimp_thumb_box_create_thumbnails (GimpThumbBox *box,
|
||||
|
||||
gimp_progress_set_value (progress, 0.0);
|
||||
|
||||
while (g_main_context_pending (NULL))
|
||||
g_main_context_iteration (NULL, FALSE);
|
||||
while (gtk_events_pending ())
|
||||
gtk_main_iteration ();
|
||||
}
|
||||
|
||||
if (box->uris)
|
||||
|
Reference in New Issue
Block a user