Bug 555738 – Image display is wrong after undoing canvas size

2009-03-28  Michael Natterer  <mitch@gimp.org>

	Bug 555738 – Image display is wrong after undoing canvas size
	enlargement

	* app/display/gimpdisplayshell-handlers.c
	(gimp_display_shell_size_changed_detailed_handler): call
	gimp_display_shell_expose_full() because resizing the canvas can
	leave all sorts of display areas unupdated otherwise.


svn path=/trunk/; revision=28230
This commit is contained in:
Michael Natterer 2009-03-28 21:18:40 +00:00 committed by Michael Natterer
parent e4ba543ca3
commit bee31119ca
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,13 @@
2009-03-28 Michael Natterer <mitch@gimp.org>
Bug 555738 Image display is wrong after undoing canvas size
enlargement
* app/display/gimpdisplayshell-handlers.c
(gimp_display_shell_size_changed_detailed_handler): call
gimp_display_shell_expose_full() because resizing the canvas can
leave all sorts of display areas unupdated otherwise.
2009-03-28 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-handlers.c

View File

@ -528,6 +528,8 @@ gimp_display_shell_size_changed_detailed_handler (GimpImage *image,
* the end
*/
gimp_display_shell_scroll_clamp_and_update (shell);
gimp_display_shell_expose_full (shell);
}
}