[gimp] Revert "Bug 610587 - Zooming with zoom tool pans away from the cursor"



commit 4ca603e97d20ca58088ad62076ef0683014f2c2f
Author: Martin Nordholts <martinn src gnome org>
Date:   Fri Jun 18 23:00:11 2010 +0200

    Revert "Bug 610587 - Zooming with zoom tool pans away from the cursor"
    
    This reverts commit 1f1f20261ee834e83d01e2cc82a0225439d32077. It was
    not proper , and correcting it reintroduces the bug :(

 app/display/gimpdisplayshell-callbacks.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-callbacks.c b/app/display/gimpdisplayshell-callbacks.c
index a116fb8..52159c0 100644
--- a/app/display/gimpdisplayshell-callbacks.c
+++ b/app/display/gimpdisplayshell-callbacks.c
@@ -249,10 +249,10 @@ gimp_display_shell_canvas_realize (GtkWidget        *canvas,
   shell->disp_height = allocation.height;
 
   /*  set up the scrollbar observers  */
-  g_signal_connect (shell->hsbdata, "notify::value",
+  g_signal_connect (shell->hsbdata, "value-changed",
                     G_CALLBACK (gimp_display_shell_hscrollbar_update),
                     shell);
-  g_signal_connect (shell->vsbdata, "notify::value",
+  g_signal_connect (shell->vsbdata, "value-changed",
                     G_CALLBACK (gimp_display_shell_vscrollbar_update),
                     shell);
 



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