get rid of the "gdisplays_flush() called recursively." warning

--Sven
This commit is contained in:
Sven Neumann 1999-11-29 22:44:37 +00:00
parent c5238c6d03
commit a018105025
3 changed files with 15 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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