Commit 8eeb831d authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

destroy the regions allocated here.

2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_set_highlight):
	destroy the regions allocated here.
parent cbd446ee
2005-05-26 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_set_highlight):
destroy the regions allocated here.
2005-05-26 Sven Neumann <sven@gimp.org>
* app/dialogs/channel-options-dialog.c: fixed capitalization,
......@@ -33,7 +38,7 @@
* app/core/gimpgradient-load.c
* app/core/gimppalette.c
* app/core/gimppattern.c: set the MIME type when loading a data
object from file. MIME types needs review and GimpPalette isn't
object from file. MIME types need review and GimpPalette isn't
quite done yet...
* app/core/gimpdashpattern.c: cosmetics.
......
......@@ -1559,6 +1559,9 @@ gimp_display_shell_set_highlight (GimpDisplayShell *shell,
gdk_region_get_rectangles (old, &rects, &num_rects);
gdk_region_destroy (old);
gdk_region_destroy (new);
for (i = 0; i < num_rects; i++)
gimp_display_update_area (shell->gdisp, TRUE,
rects[i].x,
......
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