diff --git a/ChangeLog b/ChangeLog index a2b99b5433..c98e694606 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2003-02-24 Michael Natterer + + * app/display/gimpdisplay-foreach.[ch]: removed + gimp_displays_invalidate() again. + + * app/display/gimpdisplayshell-render.c: don't call it. + + * app/display/gimpdisplayshell-handlers.c + (gimp_display_shell_check_notify_handler): put the call to + gimp_display_shell_expose_full() back I "optimized" away a few + days ago. + 2003-02-24 Sven Neumann * plug-ins/common/spheredesigner.c: some code cleanup, fixed @@ -84,11 +96,11 @@ * app/widgets/Makefile.am * app/widgets/widgets-types.h - * app/widgets/gimpcontainertreeview.[ch]; new GimpContainerView + * app/widgets/gimpcontainertreeview.[ch]: new GimpContainerView subclass using GtkListStore/GtkTreeView. * app/widgets/widgets-enums.h: added GIMP_VIEW_TYPE_TREE to - thje GimpViewType enum. + the GimpViewType enum. * app/widgets/gimpcontainereditor.c: added GimpContainerTreeView to the switch() which selects the view type. diff --git a/app/display/gimpdisplay-foreach.c b/app/display/gimpdisplay-foreach.c index c180e6f8e8..24f9d35ebf 100644 --- a/app/display/gimpdisplay-foreach.c +++ b/app/display/gimpdisplay-foreach.c @@ -130,24 +130,6 @@ gimp_displays_flush (Gimp *gimp) flushing = FALSE; } -void -gimp_displays_invalidate (Gimp *gimp) -{ - GList *list; - GimpDisplay *gdisp; - - g_return_if_fail (GIMP_IS_GIMP (gimp)); - - for (list = GIMP_LIST (gimp->displays)->list; - list; - list = g_list_next (list)) - { - gdisp = (GimpDisplay *) list->data; - - gimp_display_shell_expose_full (GIMP_DISPLAY_SHELL (gdisp->shell)); - } -} - /* Force all gdisplays to finish their idlerender projection */ void gimp_displays_finish_draw (Gimp *gimp) diff --git a/app/display/gimpdisplay-foreach.h b/app/display/gimpdisplay-foreach.h index 8645a4e94a..acae2b4ed1 100644 --- a/app/display/gimpdisplay-foreach.h +++ b/app/display/gimpdisplay-foreach.h @@ -26,7 +26,6 @@ GimpDisplay * gdisplays_check_valid (GimpDisplay *gdisp, gboolean gimp_displays_dirty (Gimp *gimp); void gimp_displays_delete (Gimp *gimp); void gimp_displays_flush (Gimp *gimp); -void gimp_displays_invalidate (Gimp *gimp); void gimp_displays_finish_draw (Gimp *gimp); void gimp_displays_reconnect (Gimp *gimp, GimpImage *old, diff --git a/app/display/gimpdisplayshell-handlers.c b/app/display/gimpdisplayshell-handlers.c index 7f7be6ef20..7751db7b15 100644 --- a/app/display/gimpdisplayshell-handlers.c +++ b/app/display/gimpdisplayshell-handlers.c @@ -384,6 +384,8 @@ gimp_display_shell_check_notify_handler (GObject *config, default: break; } + + gimp_display_shell_expose_full (shell); } static void diff --git a/app/display/gimpdisplayshell-render.c b/app/display/gimpdisplayshell-render.c index 5f52af41ce..1f5e64ac2c 100644 --- a/app/display/gimpdisplayshell-render.c +++ b/app/display/gimpdisplayshell-render.c @@ -35,7 +35,6 @@ #include "core/gimpimage-projection.h" #include "gimpdisplay.h" -#include "gimpdisplay-foreach.h" #include "gimpdisplayshell.h" #include "gimpdisplayshell-filter.h" #include "gimpdisplayshell-render.h" @@ -251,8 +250,6 @@ render_setup_notify (gpointer config, render_empty_buf = NULL; render_temp_buf = NULL; } - - gimp_displays_invalidate (gimp); }