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

This reverts commit 1f1f20261e. It was
not proper , and correcting it reintroduces the bug :(
This commit is contained in:
Martin Nordholts 2010-06-18 23:00:11 +02:00
parent 87ab39a943
commit 4ca603e97d

View file

@ -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);