Commit e2ed6cd1 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

reverted "fix" for bug #477008.

2007-09-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/decompose.c: reverted "fix" for bug #477008.

	* tools/pdbgen/pdb/display.pdb
	* app/pdb/display_cmds.c: flush the image before creating a new
	display for it. Fixes bug #477008 also for other plug-ins like
	Screenshot.

svn path=/trunk/; revision=23650
parent 501231dd
2007-09-25 Sven Neumann <sven@gimp.org>
* plug-ins/common/decompose.c: reverted "fix" for bug #477008.
* tools/pdbgen/pdb/display.pdb
* app/pdb/display_cmds.c: flush the image before creating a new
display for it. Fixes bug #477008 also for other plug-ins like
Screenshot.
2007-09-25 Sven Neumann <sven@gimp.org>
* app/widgets/gimpwidgets-utils.c (gimp_widget_accel_changed):
......@@ -72,6 +72,8 @@ display_new_invoker (GimpProcedure *procedure,
if (success)
{
gimp_image_flush (image);
display = gimp_create_display (gimp, image, GIMP_UNIT_PIXEL, 1.0);
if (display)
......
......@@ -446,10 +446,7 @@ run (const gchar *name,
/* Store data */
if (run_mode == GIMP_RUN_INTERACTIVE)
{
gimp_set_data (PLUG_IN_PROC, &decovals, sizeof (DecoVals));
gimp_displays_flush ();
}
gimp_set_data (PLUG_IN_PROC, &decovals, sizeof (DecoVals));
}
}
......
......@@ -72,6 +72,8 @@ HELP
%invoke = (
code => <<'CODE'
{
gimp_image_flush (image);
display = gimp_create_display (gimp, image, GIMP_UNIT_PIXEL, 1.0);
if (display)
......
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