Commit bde662b2 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

don't compare GType with GimpPDBArgType (never "clean up" before

2006-04-04  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-params.c (plug_in_params_to_args): don't
	compare GType with GimpPDBArgType (never "clean up" before
	committing ;)
parent 070a3625
2006-04-04 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-in-params.c (plug_in_params_to_args): don't
compare GType with GimpPDBArgType (never "clean up" before
committing ;)
2006-04-03 Michael Natterer <mitch@gimp.org>
* app/core/gimpparamspecs.[ch]: added a shitload of new GTypes and
......
......@@ -72,14 +72,18 @@ plug_in_params_to_args (GimpArgumentSpec *arg_specs,
{
GimpArgumentSpec *spec;
gint spec_index = i;
GimpPDBArgType spec_arg_type;
if (return_values)
spec_index--;
spec = &arg_specs[spec_index];
spec_arg_type = gimp_argument_type_to_pdb_arg_type
(G_PARAM_SPEC_VALUE_TYPE (spec->pspec));
if (spec_index < n_arg_specs &&
G_PARAM_SPEC_VALUE_TYPE (spec->pspec) == params[i].type)
spec_arg_type == params[i].type)
{
gimp_argument_init (&args[i], spec);
}
......
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