mirror of https://github.com/GNOME/gimp.git
include the procedure name in the output on stderr.
2006-10-17 Sven Neumann <sven@gimp.org> * app/plug-in/gimppluginprocedure.c (gimp_plug_in_procedure_set_image_types): include the procedure name in the output on stderr.
This commit is contained in:
parent
3054a3a2b8
commit
035f087e48
|
@ -1,3 +1,9 @@
|
|||
2006-10-17 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/plug-in/gimppluginprocedure.c
|
||||
(gimp_plug_in_procedure_set_image_types): include the procedure
|
||||
name in the output on stderr.
|
||||
|
||||
2006-10-17 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/script-fu/scripts/web-browser.scm: reviewed blurbs and
|
||||
|
|
|
@ -637,7 +637,8 @@ gimp_plug_in_procedure_get_sensitive (const GimpPlugInProcedure *proc,
|
|||
}
|
||||
|
||||
static GimpPlugInImageType
|
||||
image_types_parse (const gchar *image_types)
|
||||
image_types_parse (const gchar *name,
|
||||
const gchar *image_types)
|
||||
{
|
||||
const gchar *type_spec = image_types;
|
||||
GimpPlugInImageType types = 0;
|
||||
|
@ -712,14 +713,16 @@ image_types_parse (const gchar *image_types)
|
|||
}
|
||||
else
|
||||
{
|
||||
g_printerr ("image_type contains unrecognizable parts: '%s'\n",
|
||||
type_spec);
|
||||
g_printerr ("%s: image-type contains unrecognizable parts:"
|
||||
"'%s'\n", name, type_spec);
|
||||
|
||||
while (*image_types &&
|
||||
((*image_types != ' ') ||
|
||||
(*image_types != '\t') ||
|
||||
(*image_types != ',')))
|
||||
image_types++;
|
||||
{
|
||||
image_types++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -736,9 +739,9 @@ gimp_plug_in_procedure_set_image_types (GimpPlugInProcedure *proc,
|
|||
if (proc->image_types)
|
||||
g_free (proc->image_types);
|
||||
|
||||
proc->image_types = g_strdup (image_types);
|
||||
|
||||
proc->image_types_val = image_types_parse (proc->image_types);
|
||||
proc->image_types = g_strdup (image_types);
|
||||
proc->image_types_val = image_types_parse (gimp_object_get_name (GIMP_OBJECT (proc)),
|
||||
proc->image_types);
|
||||
}
|
||||
|
||||
static GSList *
|
||||
|
|
Loading…
Reference in New Issue