[gimp] app: remove redundant call to gimp_display_shell_scroll_get_render_start_offset()



commit ea5acef4a5764cdfe2f8ff15b16f9326b093c948
Author: Michael Natterer <mitch gimp org>
Date:   Mon Aug 23 22:18:03 2010 +0200

    app: remove redundant call to gimp_display_shell_scroll_get_render_start_offset()

 app/display/gimpdisplayshell-render.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-render.c b/app/display/gimpdisplayshell-render.c
index 66a575c..956c424 100644
--- a/app/display/gimpdisplayshell-render.c
+++ b/app/display/gimpdisplayshell-render.c
@@ -318,12 +318,9 @@ gimp_display_shell_render (GimpDisplayShell   *shell,
   /*  put it to the screen  */
   {
     gint disp_xoffset, disp_yoffset;
-    gint offset_x, offset_y;
 
     gimp_display_shell_scroll_get_disp_offset (shell,
 					       &disp_xoffset, &disp_yoffset);
-    gimp_display_shell_scroll_get_render_start_offset (shell,
-						       &offset_x, &offset_y);
 
     gimp_canvas_draw_rgb (GIMP_CANVAS (shell->canvas),
 			  GIMP_CANVAS_STYLE_RENDER,



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