diff --git a/ChangeLog b/ChangeLog index f67fa0e3d3..dc9c81d721 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Oct 24 14:53:19 EDT 1998 Adrian Likins + + * app/plug_in.c: fix from Tor Lillqvist + to make scriptfu work again (argc = 1; line 2281) + Fri Oct 23 00:58:37 CEST 1998 Marc Lehmann * configure.in: got rid of the ugly but harmless autoconf warning diff --git a/app/actions/plug-in-commands.c b/app/actions/plug-in-commands.c index 5606ab22d4..b93310fb58 100644 --- a/app/actions/plug-in-commands.c +++ b/app/actions/plug-in-commands.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/gui/plug-in-commands.c b/app/gui/plug-in-commands.c index 5606ab22d4..b93310fb58 100644 --- a/app/gui/plug-in-commands.c +++ b/app/gui/plug-in-commands.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/gui/plug-in-menus.c b/app/gui/plug-in-menus.c index 5606ab22d4..b93310fb58 100644 --- a/app/gui/plug-in-menus.c +++ b/app/gui/plug-in-menus.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/menus/plug-in-menus.c b/app/menus/plug-in-menus.c index 5606ab22d4..b93310fb58 100644 --- a/app/menus/plug-in-menus.c +++ b/app/menus/plug-in-menus.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/gimpplugin-message.c b/app/plug-in/gimpplugin-message.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/gimpplugin-message.c +++ b/app/plug-in/gimpplugin-message.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/gimpplugin-progress.c b/app/plug-in/gimpplugin-progress.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/gimpplugin-progress.c +++ b/app/plug-in/gimpplugin-progress.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/gimpplugin.c b/app/plug-in/gimpplugin.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/gimpplugin.c +++ b/app/plug-in/gimpplugin.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/gimppluginmanager-call.c b/app/plug-in/gimppluginmanager-call.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/gimppluginmanager-call.c +++ b/app/plug-in/gimppluginmanager-call.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/gimppluginmanager-run.c b/app/plug-in/gimppluginmanager-run.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/gimppluginmanager-run.c +++ b/app/plug-in/gimppluginmanager-run.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/gimppluginmanager.c b/app/plug-in/gimppluginmanager.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/gimppluginmanager.c +++ b/app/plug-in/gimppluginmanager.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/gimppluginshm.c b/app/plug-in/gimppluginshm.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/gimppluginshm.c +++ b/app/plug-in/gimppluginshm.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/plug-in-def.c b/app/plug-in/plug-in-def.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/plug-in-def.c +++ b/app/plug-in/plug-in-def.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/plug-in-message.c b/app/plug-in/plug-in-message.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/plug-in-message.c +++ b/app/plug-in/plug-in-message.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/plug-in-params.c b/app/plug-in/plug-in-params.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/plug-in-params.c +++ b/app/plug-in/plug-in-params.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/plug-in-progress.c b/app/plug-in/plug-in-progress.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/plug-in-progress.c +++ b/app/plug-in/plug-in-progress.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/plug-in-run.c b/app/plug-in/plug-in-run.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/plug-in-run.c +++ b/app/plug-in/plug-in-run.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/plug-in-shm.c b/app/plug-in/plug-in-shm.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/plug-in-shm.c +++ b/app/plug-in/plug-in-shm.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/plug-in.c b/app/plug-in/plug-in.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/plug-in.c +++ b/app/plug-in/plug-in.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug-in/plug-ins.c b/app/plug-in/plug-ins.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug-in/plug-ins.c +++ b/app/plug-in/plug-ins.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE) diff --git a/app/plug_in.c b/app/plug_in.c index 5606ab22d4..b93310fb58 100644 --- a/app/plug_in.c +++ b/app/plug_in.c @@ -2279,6 +2279,7 @@ plug_in_callback (GtkWidget *widget, case PDB_TEMPORARY: args[0].value.pdb_int = RUN_INTERACTIVE; + argc = 1; if (proc_rec->num_args >= 3 && proc_rec->args[1].arg_type == PDB_IMAGE && proc_rec->args[2].arg_type == PDB_DRAWABLE)