From 084764330769ce4441744ecc04595ddfc237e963 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Tue, 12 Aug 2008 15:17:43 +0000 Subject: [PATCH] removed calls to scale the image and to update the scrollbars and rulers. 2008-08-12 Sven Neumann * 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 --- ChangeLog | 7 +++++++ app/display/gimpdisplayshell.c | 5 ----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index a92b2507bc..39c08fa7d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-08-12 Sven Neumann + + * 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 * app/core/gimpitem.c diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c index a726fff625..e43e631bf7 100644 --- a/app/display/gimpdisplayshell.c +++ b/app/display/gimpdisplayshell.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));