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
This commit is contained in:
Sven Neumann 2007-09-25 11:25:05 +00:00 committed by Sven Neumann
parent 501231ddd9
commit e2ed6cd182
4 changed files with 14 additions and 4 deletions

View file

@ -1,3 +1,12 @@
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):

View file

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

View file

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

View file

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