From 0c64210b15f9e4ad5692ea78d16f3f6a0f638d9a Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 13 Aug 2007 19:36:18 +0000 Subject: [PATCH] app/display/gimpdisplay.c formatting. 2007-08-13 Sven Neumann * app/display/gimpdisplay.c * app/display/gimpdisplay-render.c: formatting. svn path=/trunk/; revision=23241 --- ChangeLog | 5 +++++ app/display/gimpdisplay.c | 4 +++- app/display/gimpdisplayshell-render.c | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 20cb65e07f..00123c2467 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-13 Sven Neumann + + * app/display/gimpdisplay.c + * app/display/gimpdisplay-render.c: formatting. + 2007-08-13 Kevin Cozens * plug-ins/script-fu/scheme-wrapper.c (ts_output_string): Use the diff --git a/app/display/gimpdisplay.c b/app/display/gimpdisplay.c index 060c95a00b..b04d4da497 100644 --- a/app/display/gimpdisplay.c +++ b/app/display/gimpdisplay.c @@ -525,6 +525,7 @@ gimp_display_flush_whenever (GimpDisplay *display, (area->y2 - area->y1)); } } + gimp_area_list_free (display->update_areas); display->update_areas = NULL; } @@ -548,13 +549,14 @@ gimp_display_paint_area (GimpDisplay *display, y1 = CLAMP (y, 0, display->image->height); x2 = CLAMP (x + w, 0, display->image->width); y2 = CLAMP (y + h, 0, display->image->height); + x = x1; y = y1; w = (x2 - x1); h = (y2 - y1); /* display the area */ - gimp_display_shell_transform_xy_f (shell, x, y, &x1_f, &y1_f, FALSE); + gimp_display_shell_transform_xy_f (shell, x, y, &x1_f, &y1_f, FALSE); gimp_display_shell_transform_xy_f (shell, x + w, y + h, &x2_f, &y2_f, FALSE); /* make sure to expose a superset of the transformed sub-pixel expose diff --git a/app/display/gimpdisplayshell-render.c b/app/display/gimpdisplayshell-render.c index 007242b442..7ba46ddbfa 100644 --- a/app/display/gimpdisplayshell-render.c +++ b/app/display/gimpdisplayshell-render.c @@ -239,7 +239,6 @@ gimp_display_shell_render (GimpDisplayShell *shell, TileManager *src_tiles; gint level; - level = gimp_projection_get_level (projection, shell->scale_x, shell->scale_y);