Commit 30e9bf10 authored by Marc Lehmann's avatar Marc Lehmann
Browse files

*** empty log message ***

parent 5ac87e53
Tue Oct 3 18:05:53 CEST 2000 Marc Lehmann <pcg@goof.com>
* plug-ins/common/exchange.c: Try to fix bug #26614.
2000-10-02 Simon Budig <simon@gimp.org>
 
* docs/Wilber.svg: New file: Our favourite pet in a svg-version :-)
......
......@@ -152,17 +152,7 @@ run (gchar *name,
xargs.drawable = param[2].data.d_drawable;
drw = gimp_drawable_get (xargs.drawable);
switch (runmode)
{
case GIMP_RUN_INTERACTIVE:
INIT_I18N_UI();
/* retrieve stored arguments (if any) */
gimp_get_data ("plug_in_exchange", &xargs);
/* initialize using foreground color */
gimp_palette_get_foreground (&xargs.fromred,
&xargs.fromgreen,
&xargs.fromblue);
/* and initialize some other things */
/* initialize misc. things */
gimp_drawable_mask_bounds (drw->id, &sel_x1, &sel_y1, &sel_x2, &sel_y2);
sel_width = sel_x2 - sel_x1;
sel_height = sel_y2 - sel_y1;
......@@ -175,6 +165,17 @@ run (gchar *name,
else
prev_height = sel_height;
has_alpha = gimp_drawable_has_alpha (drw->id);
switch (runmode)
{
case GIMP_RUN_INTERACTIVE:
INIT_I18N_UI();
/* retrieve stored arguments (if any) */
gimp_get_data ("plug_in_exchange", &xargs);
/* initialize using foreground color */
gimp_palette_get_foreground (&xargs.fromred,
&xargs.fromgreen,
&xargs.fromblue);
if (!doDialog ())
return;
break;
......@@ -194,7 +195,7 @@ run (gchar *name,
case GIMP_RUN_NONINTERACTIVE:
INIT_I18N();
if (nparams != 10)
if (nparams != 12)
{
status = GIMP_PDB_EXECUTION_ERROR;
}
......
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