mirror of https://github.com/GNOME/gimp.git
get rid of the "gdisplays_flush() called recursively." warning
--Sven
This commit is contained in:
parent
c5238c6d03
commit
a018105025
|
@ -1,3 +1,8 @@
|
|||
Mon Nov 29 23:43:15 MET 1999 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/layers_dialog.c:
|
||||
get rid of the "gdisplays_flush() called recursively." warning
|
||||
|
||||
1999-11-27 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/preferances_dialog.c: oops, all frames said "General" after
|
||||
|
|
|
@ -598,6 +598,9 @@ layers_dialog_flush (void)
|
|||
if (!layersD || !(gimage = layersD->gimage))
|
||||
return;
|
||||
|
||||
/* Make sure the gimage is not notified of this change */
|
||||
suspend_gimage_notify++;
|
||||
|
||||
/* Check if the gimage extents have changed */
|
||||
if ((gimage->width != layersD->gimage_width) ||
|
||||
(gimage->height != layersD->gimage_height))
|
||||
|
@ -665,6 +668,8 @@ layers_dialog_flush (void)
|
|||
|
||||
gtk_container_foreach (GTK_CONTAINER (layersD->layer_list),
|
||||
layer_widget_layer_flush, NULL);
|
||||
|
||||
suspend_gimage_notify--;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -598,6 +598,9 @@ layers_dialog_flush (void)
|
|||
if (!layersD || !(gimage = layersD->gimage))
|
||||
return;
|
||||
|
||||
/* Make sure the gimage is not notified of this change */
|
||||
suspend_gimage_notify++;
|
||||
|
||||
/* Check if the gimage extents have changed */
|
||||
if ((gimage->width != layersD->gimage_width) ||
|
||||
(gimage->height != layersD->gimage_height))
|
||||
|
@ -665,6 +668,8 @@ layers_dialog_flush (void)
|
|||
|
||||
gtk_container_foreach (GTK_CONTAINER (layersD->layer_list),
|
||||
layer_widget_layer_flush, NULL);
|
||||
|
||||
suspend_gimage_notify--;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue