return TRUE after calling gimp_display_shell_canvas_expose_image().

2008-03-23  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_expose): return TRUE after calling
	gimp_display_shell_canvas_expose_image().


svn path=/trunk/; revision=25181
This commit is contained in:
Sven Neumann 2008-03-23 15:44:58 +00:00 committed by Sven Neumann
parent 9af8a16ead
commit d9e5bbb8b6
2 changed files with 16 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2008-03-23 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_canvas_expose): return TRUE after calling
gimp_display_shell_canvas_expose_image().
2008-03-23 Sven Neumann <sven@gimp.org>
* app/dialogs/dialogs.c

View file

@ -353,13 +353,21 @@ gimp_display_shell_canvas_expose (GtkWidget *widget,
if (shell->display->image)
{
gimp_display_shell_canvas_expose_image (shell, eevent);
/* Return TRUE here to avoid redrawing the image when it gets the
* keyboard focus.
*/
return TRUE;
}
else
{
gimp_display_shell_canvas_expose_drop_zone (shell, eevent);
}
return FALSE;
/* Return FALSE here so that the drag indicator is drawn around
* the empty canvas during DND operations.
*/
return FALSE;
}
}
static void