mirror of https://github.com/GNOME/gimp.git
moved run_mode initialisation up a few lines.
2007-06-11 Sven Neumann <sven@gimp.org> * plug-ins/twain/twain.c (run): moved run_mode initialisation up a few lines. svn path=/trunk/; revision=22755
This commit is contained in:
parent
e23f585f07
commit
3ce6de2bb1
|
@ -1,5 +1,8 @@
|
|||
2007-06-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/twain/twain.c (run): moved run_mode initialisation up a
|
||||
few lines.
|
||||
|
||||
* app/tools/gimpscaletool.c: removed unused variable.
|
||||
|
||||
2007-06-11 Mukund Sivaraman <muks@mukund.org>
|
||||
|
|
|
@ -381,7 +381,7 @@ run (const gchar *name,
|
|||
gint *nreturn_vals,
|
||||
GimpParam **return_vals)
|
||||
{
|
||||
GimpRunMode run_mode;
|
||||
GimpRunMode run_mode = param[0].data.d_int32
|
||||
|
||||
/* Initialize the return values
|
||||
* Always return at least the status to the caller.
|
||||
|
@ -402,9 +402,6 @@ run (const gchar *name,
|
|||
return;
|
||||
}
|
||||
|
||||
/* Get the runmode from the in-parameters */
|
||||
run_mode = param[0].data.d_int32;
|
||||
|
||||
/* Set up the rest of the return parameters */
|
||||
values[1].type = GIMP_PDB_INT32;
|
||||
values[1].data.d_int32 = 0;
|
||||
|
|
Loading…
Reference in New Issue