add the gegl: prefix here too.

2008-10-15  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpgegltool.c (gimp_gegl_tool_operation_blacklisted):
	add the gegl: prefix here too.

	(gimp_gegl_tool_get_config): canonicalize the type name of the
	created config class or we crash.


svn path=/trunk/; revision=27286
This commit is contained in:
Michael Natterer 2008-10-14 23:28:23 +00:00 committed by Michael Natterer
parent 1ccfc38561
commit f2e93c0e78
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,9 @@
* app/tools/gimpgegltool.c (gimp_gegl_tool_operation_blacklisted):
add the gegl: prefix here too.
(gimp_gegl_tool_get_config): canonicalize the type name of the
created config class or we crash.
2008-10-14 Michael Natterer <mitch@gimp.org>
* configure.in

View File

@ -697,6 +697,8 @@ gimp_gegl_tool_get_config (GimpGeglTool *tool)
gchar *type_name = g_strdup_printf ("GimpGeglTool-%s-config",
tool->operation);
g_strcanon (type_name, G_CSET_DIGITS "-" G_CSET_a_2_z G_CSET_A_2_Z, '-');
config_type = g_type_register_static (GIMP_TYPE_OBJECT, type_name,
&info, 0);