[gimp] app: rename gimp_display_shell_draw_area() to draw_image()



commit 42e137fc74af8ad645702a4ed4a9a215679533f4
Author: Michael Natterer <mitch gimp org>
Date:   Wed Sep 29 20:58:13 2010 +0200

    app: rename gimp_display_shell_draw_area() to draw_image()

 app/display/gimpdisplayshell-callbacks.c |   10 +++++-----
 app/display/gimpdisplayshell-draw.c      |   12 ++++++------
 app/display/gimpdisplayshell-draw.h      |    2 +-
 3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-callbacks.c b/app/display/gimpdisplayshell-callbacks.c
index 12a304f..d1261bc 100644
--- a/app/display/gimpdisplayshell-callbacks.c
+++ b/app/display/gimpdisplayshell-callbacks.c
@@ -2298,11 +2298,11 @@ gimp_display_shell_canvas_expose_image (GimpDisplayShell *shell,
       gdk_region_get_rectangles (image_region, &rects, &n_rects);
 
       for (i = 0; i < n_rects; i++)
-        gimp_display_shell_draw_area (shell, cr,
-                                      rects[i].x,
-                                      rects[i].y,
-                                      rects[i].width,
-                                      rects[i].height);
+        gimp_display_shell_draw_image (shell, cr,
+                                       rects[i].x,
+                                       rects[i].y,
+                                       rects[i].width,
+                                       rects[i].height);
 
       g_free (rects);
       cairo_restore (cr);
diff --git a/app/display/gimpdisplayshell-draw.c b/app/display/gimpdisplayshell-draw.c
index bea12f0..0c05eea 100644
--- a/app/display/gimpdisplayshell-draw.c
+++ b/app/display/gimpdisplayshell-draw.c
@@ -700,12 +700,12 @@ gimp_display_shell_draw_cursor (GimpDisplayShell *shell,
 }
 
 void
-gimp_display_shell_draw_area (GimpDisplayShell *shell,
-                              cairo_t          *cr,
-                              gint              x,
-                              gint              y,
-                              gint              w,
-                              gint              h)
+gimp_display_shell_draw_image (GimpDisplayShell *shell,
+                               cairo_t          *cr,
+                               gint              x,
+                               gint              y,
+                               gint              w,
+                               gint              h)
 {
   gint x2, y2;
   gint i, j;
diff --git a/app/display/gimpdisplayshell-draw.h b/app/display/gimpdisplayshell-draw.h
index a1d0c2d..73e71bb 100644
--- a/app/display/gimpdisplayshell-draw.h
+++ b/app/display/gimpdisplayshell-draw.h
@@ -65,7 +65,7 @@ void   gimp_display_shell_draw_vectors               (GimpDisplayShell   *shell,
                                                       cairo_t            *cr);
 void   gimp_display_shell_draw_cursor                (GimpDisplayShell   *shell,
                                                       cairo_t            *cr);
-void   gimp_display_shell_draw_area                  (GimpDisplayShell   *shell,
+void   gimp_display_shell_draw_image                 (GimpDisplayShell   *shell,
                                                       cairo_t            *cr,
                                                       gint                x,
                                                       gint                y,



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