Commit 42e137fc authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

app: rename gimp_display_shell_draw_area() to draw_image()

parent 2ef259cd
......@@ -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);
......
......@@ -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;
......
......@@ -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,
......
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