removed gimp_displays_invalidate() again.

2003-02-24  Michael Natterer  <mitch@convergence.de>

	* 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.
This commit is contained in:
Michael Natterer 2003-02-24 12:30:33 +00:00 committed by Michael Natterer
parent 9f3aa7adf9
commit 0bd9abbf23
5 changed files with 16 additions and 24 deletions

View File

@ -1,3 +1,15 @@
2003-02-24 Michael Natterer <mitch@convergence.de>
* 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 <sven@gimp.org>
* 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.

View File

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

View File

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

View File

@ -384,6 +384,8 @@ gimp_display_shell_check_notify_handler (GObject *config,
default:
break;
}
gimp_display_shell_expose_full (shell);
}
static void

View File

@ -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);
}