gimp r27286 - in trunk: . app/tools



Author: mitch
Date: Tue Oct 14 23:28:23 2008
New Revision: 27286
URL: http://svn.gnome.org/viewvc/gimp?rev=27286&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/app/tools/gimpgegltool.c

Modified: trunk/app/tools/gimpgegltool.c
==============================================================================
--- trunk/app/tools/gimpgegltool.c	(original)
+++ trunk/app/tools/gimpgegltool.c	Tue Oct 14 23:28:23 2008
@@ -697,6 +697,8 @@
       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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]