Index: app/display/gimpdisplayshell-scroll.c
===================================================================
RCS file: /cvs/gnome/gimp/app/display/gimpdisplayshell-scroll.c,v
retrieving revision 1.49
diff -u -p -r1.49 gimpdisplayshell-scroll.c
--- app/display/gimpdisplayshell-scroll.c	12 Apr 2006 12:49:21 -0000	1.49
+++ app/display/gimpdisplayshell-scroll.c	20 Oct 2006 08:43:25 -0000
@@ -38,32 +38,12 @@ gimp_display_shell_scroll (GimpDisplaySh
                            gint              x_offset,
                            gint              y_offset)
 {
-  gint old_x;
-  gint old_y;
-
   g_return_val_if_fail (GIMP_IS_DISPLAY_SHELL (shell), FALSE);
 
-  old_x = shell->offset_x;
-  old_y = shell->offset_y;
-
-  shell->offset_x += x_offset;
-  shell->offset_y += y_offset;
-
-  gimp_display_shell_scroll_clamp_offsets (shell);
-
-  /*  the actual changes in offset  */
-  x_offset = (shell->offset_x - old_x);
-  y_offset = (shell->offset_y - old_y);
-
   if (x_offset || y_offset)
     {
-      /*  reset the old values so that the tool can accurately redraw  */
-      shell->offset_x = old_x;
-      shell->offset_y = old_y;
-
       gimp_display_shell_pause (shell);
 
-      /*  set the offsets back to the new values  */
       shell->offset_x += x_offset;
       shell->offset_y += y_offset;
 
