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);