app: remove gimp_display_shell_update_scrollbars_and_rulers()

and move its two statements to its two callers.
This commit is contained in:
Michael Natterer
2013-04-18 18:45:55 +02:00
parent 0add37a6cc
commit afddcce4e5
3 changed files with 5 additions and 17 deletions

View File

@ -124,7 +124,8 @@ gimp_display_shell_scroll (GimpDisplayShell *shell,
-x_offset, -y_offset);
/* Update scrollbars and rulers */
gimp_display_shell_update_scrollbars_and_rulers (shell);
gimp_display_shell_scale_update_scrollbars (shell);
gimp_display_shell_scale_update_rulers (shell);
gimp_display_shell_resume (shell);
@ -258,7 +259,9 @@ void
gimp_display_shell_scroll_clamp_and_update (GimpDisplayShell *shell)
{
gimp_display_shell_scroll_clamp_offsets (shell);
gimp_display_shell_update_scrollbars_and_rulers (shell);
gimp_display_shell_scale_update_scrollbars (shell);
gimp_display_shell_scale_update_rulers (shell);
}
/**