Commit f8a56311 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

set the procedure name before parsing the image types. Fixes bug #490055.

2007-10-25  Sven Neumann  <sven@gimp.org>

        * app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_install):
        set the procedure name before parsing the image types.
        Fixes bug #490055.

svn path=/trunk/; revision=23943
parent e9c46d0a
2007-10-25 Sven Neumann <sven@gimp.org>
* app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_install):
set the procedure name before parsing the image types.
Fixes bug #490055.
2007-10-25 Sven Neumann <sven@gimp.org>
* app/display/gimpcanvas.c (gimp_canvas_gc_new): use INVERT
......
......@@ -617,8 +617,6 @@ gimp_plug_in_handle_proc_install (GimpPlugIn *plug_in,
proc->mtime = time (NULL);
proc->installed_during_init = (plug_in->call_mode == GIMP_PLUG_IN_CALL_INIT);
gimp_plug_in_procedure_set_image_types (proc, proc_install->image_types);
gimp_object_take_name (GIMP_OBJECT (procedure), canonical);
gimp_procedure_set_strings (procedure,
proc_install->name,
......@@ -629,6 +627,8 @@ gimp_plug_in_handle_proc_install (GimpPlugIn *plug_in,
proc_install->date,
NULL);
gimp_plug_in_procedure_set_image_types (proc, proc_install->image_types);
for (i = 0; i < proc_install->nparams; i++)
{
GParamSpec *pspec =
......
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