[gimp] app: remove (hopefully) redundant calls to gimp_display_shell_scale_update()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: remove (hopefully) redundant calls to gimp_display_shell_scale_update()
- Date: Sun, 10 Jan 2016 22:07:26 +0000 (UTC)
commit 26ea7a3530fc62c2ba285675b9707ff7a147953a
Author: Michael Natterer <mitch gimp org>
Date: Sun Jan 10 23:05:41 2016 +0100
app: remove (hopefully) redundant calls to gimp_display_shell_scale_update()
because this should happen generically in the zoom model's "zoomed"
callback, and is done explicitly in a few special cases. The removed
calls should all be redundant.
app/display/gimpdisplayshell.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index 81a9398..31df80a 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -776,9 +776,6 @@ gimp_display_shell_constructed (GObject *object)
gimp_statusbar_empty (GIMP_STATUSBAR (shell->statusbar));
}
-
- /* make sure the information is up-to-date */
- gimp_display_shell_scale_update (shell);
}
static void
@@ -1521,7 +1518,6 @@ gimp_display_shell_fill (GimpDisplayShell *shell,
gimp_display_shell_set_unit (shell, unit);
gimp_display_shell_set_initial_scale (shell, scale, NULL, NULL);
- gimp_display_shell_scale_update (shell);
gimp_display_shell_sync_config (shell, shell->display->config);
@@ -1818,9 +1814,6 @@ gimp_display_shell_flush (GimpDisplayShell *shell,
gimp_display_shell_title_update (shell);
- /* make sure the information is up-to-date */
- gimp_display_shell_scale_update (shell);
-
gimp_canvas_layer_boundary_set_layer (GIMP_CANVAS_LAYER_BOUNDARY (shell->layer_boundary),
gimp_image_get_active_layer (gimp_display_get_image
(shell->display)));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]