diff --git a/ChangeLog b/ChangeLog index 6a374ebaff..50e7468eea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-08-28 Sven Neumann + + * plug-ins/script-fu/script-fu.c: add missing cases to switch + statement. + 2000-08-28 Sven Neumann * libgimp/gimpchainbutton.[ch]: emit a "toggled" signal. This diff --git a/plug-ins/script-fu/script-fu.c b/plug-ins/script-fu/script-fu.c index 728c670f31..b8f5a067f8 100644 --- a/plug-ins/script-fu/script-fu.c +++ b/plug-ins/script-fu/script-fu.c @@ -794,11 +794,13 @@ marshall_proc_db_call (LISP a) lprin1s (a_saved, error_str + strlen(error_str)); return my_err (error_str, NIL); break; + case GIMP_PDB_CALLING_ERROR: strcpy (error_str, "Procedural database execution failed on invalid input arguments:\n "); lprin1s (a_saved, error_str + strlen(error_str)); return my_err (error_str, NIL); break; + case GIMP_PDB_SUCCESS: return_val = NIL; @@ -949,6 +951,10 @@ marshall_proc_db_call (LISP a) } } break; + + case GIMP_PDB_PASS_THROUGH: + case GIMP_PDB_CANCEL: /* should we do something here? */ + break; } /* free up the executed procedure return values */