mirror of https://github.com/GNOME/gimp.git
removed check for success again; it is being checked in the for() loop
2006-06-12 Sven Neumann <sven@gimp.org> * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call): removed check for success again; it is being checked in the for() loop already.
This commit is contained in:
parent
a442179713
commit
67531dd6b6
|
@ -1,3 +1,9 @@
|
|||
2006-06-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
|
||||
removed check for success again; it is being checked in the for()
|
||||
loop already.
|
||||
|
||||
2006-06-11 Bill Skaggs <weskaggs@primate.ucdavis.edu>
|
||||
|
||||
* app/tools/gimpellipseselecttool.c (gimp_ellipse_select_tool_draw):
|
||||
|
|
|
@ -146,7 +146,7 @@ static gboolean register_scripts = FALSE;
|
|||
void
|
||||
siod_init (gboolean local_register_scripts)
|
||||
{
|
||||
char *siod_argv[] =
|
||||
gchar * siod_argv[] =
|
||||
{
|
||||
"siod",
|
||||
"-h100000:10",
|
||||
|
@ -162,6 +162,7 @@ siod_init (gboolean local_register_scripts)
|
|||
|
||||
/* init the interpreter */
|
||||
process_cla (G_N_ELEMENTS (siod_argv), siod_argv, 1);
|
||||
|
||||
init_storage ();
|
||||
init_subrs ();
|
||||
init_trace ();
|
||||
|
@ -582,6 +583,7 @@ marshall_proc_db_call (LISP a)
|
|||
for (i = 0; i < nparams && success; i++)
|
||||
{
|
||||
a = cdr (a);
|
||||
|
||||
args[i].type = params[i].type;
|
||||
|
||||
switch (params[i].type)
|
||||
|
@ -832,7 +834,6 @@ marshall_proc_db_call (LISP a)
|
|||
|
||||
case GIMP_PDB_STATUS:
|
||||
return my_err ("Status is for return types, not arguments", car (a));
|
||||
break;
|
||||
|
||||
default:
|
||||
g_snprintf (error_str, sizeof (error_str),
|
||||
|
@ -840,9 +841,6 @@ marshall_proc_db_call (LISP a)
|
|||
i + 1, proc_name);
|
||||
return my_err (error_str, NIL);
|
||||
}
|
||||
|
||||
if (! success)
|
||||
break;
|
||||
}
|
||||
|
||||
if (success)
|
||||
|
|
|
@ -146,7 +146,7 @@ static gboolean register_scripts = FALSE;
|
|||
void
|
||||
siod_init (gboolean local_register_scripts)
|
||||
{
|
||||
char *siod_argv[] =
|
||||
gchar * siod_argv[] =
|
||||
{
|
||||
"siod",
|
||||
"-h100000:10",
|
||||
|
@ -162,6 +162,7 @@ siod_init (gboolean local_register_scripts)
|
|||
|
||||
/* init the interpreter */
|
||||
process_cla (G_N_ELEMENTS (siod_argv), siod_argv, 1);
|
||||
|
||||
init_storage ();
|
||||
init_subrs ();
|
||||
init_trace ();
|
||||
|
@ -582,6 +583,7 @@ marshall_proc_db_call (LISP a)
|
|||
for (i = 0; i < nparams && success; i++)
|
||||
{
|
||||
a = cdr (a);
|
||||
|
||||
args[i].type = params[i].type;
|
||||
|
||||
switch (params[i].type)
|
||||
|
@ -832,7 +834,6 @@ marshall_proc_db_call (LISP a)
|
|||
|
||||
case GIMP_PDB_STATUS:
|
||||
return my_err ("Status is for return types, not arguments", car (a));
|
||||
break;
|
||||
|
||||
default:
|
||||
g_snprintf (error_str, sizeof (error_str),
|
||||
|
@ -840,9 +841,6 @@ marshall_proc_db_call (LISP a)
|
|||
i + 1, proc_name);
|
||||
return my_err (error_str, NIL);
|
||||
}
|
||||
|
||||
if (! success)
|
||||
break;
|
||||
}
|
||||
|
||||
if (success)
|
||||
|
|
Loading…
Reference in New Issue