gimp r26518 - in trunk: . app/display



Author: neo
Date: Tue Aug 12 15:17:43 2008
New Revision: 26518
URL: http://svn.gnome.org/viewvc/gimp?rev=26518&view=rev

Log:
2008-08-12  Sven Neumann  <sven gimp org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_empty):
	removed calls to scale the image and to update the scrollbars 
and
	rulers. Doesn't seem to make sense in an empty display and it
	causes a crash.



Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell.c

Modified: trunk/app/display/gimpdisplayshell.c
==============================================================================
--- trunk/app/display/gimpdisplayshell.c	(original)
+++ trunk/app/display/gimpdisplayshell.c	Tue Aug 12 15:17:43 2008
@@ -1298,11 +1298,6 @@
 
   gimp_display_shell_selection_control (shell, GIMP_SELECTION_OFF);
 
-  gimp_display_shell_scale (shell, GIMP_ZOOM_TO, 1.0);
-  gimp_display_shell_scroll_clamp_offsets (shell);
-  gimp_display_shell_update_scrollbars_and_rulers (shell);
-  gimp_display_shell_scaled (shell);
-
   gimp_display_shell_unset_cursor (shell);
 
   gimp_statusbar_empty (GIMP_STATUSBAR (shell->statusbar));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]