Commit 1f1f2026 authored by Martin Nordholts's avatar Martin Nordholts

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

Connect gimp_display_shell_hscrollbar_update to "notify::" so that the
notify freeze in gimp_display_shell_scale_update_scrollbars() works.
parent 3f6a3e74
......@@ -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, "value-changed",
g_signal_connect (shell->hsbdata, "notify::value",
G_CALLBACK (gimp_display_shell_hscrollbar_update),
shell);
g_signal_connect (shell->vsbdata, "value-changed",
g_signal_connect (shell->vsbdata, "notify::value",
G_CALLBACK (gimp_display_shell_vscrollbar_update),
shell);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment