mirror of https://github.com/GNOME/gimp.git
removed calls to scale the image and to update the scrollbars and rulers.
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. svn path=/trunk/; revision=26518
This commit is contained in:
parent
ee58f4c90d
commit
0847643307
|
@ -1,3 +1,10 @@
|
|||
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.
|
||||
|
||||
2008-08-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/core/gimpitem.c
|
||||
|
|
|
@ -1298,11 +1298,6 @@ gimp_display_shell_empty (GimpDisplayShell *shell)
|
|||
|
||||
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));
|
||||
|
|
Loading…
Reference in New Issue