gimp r27941 - in branches/gimp-2-6: . app/tools



Author: neo
Date: Sun Jan 25 12:47:41 2009
New Revision: 27941
URL: http://svn.gnome.org/viewvc/gimp?rev=27941&view=rev

Log:
2009-01-25  Sven Neumann  <sven gimp org>

	Merged from trunk:

	* app/tools/gimpgegltool.c (gimp_gegl_tool_get_config): 
	(gimp_gegl_tool_get_config): canonicalize the type name of the
	created config class.



Modified:
   branches/gimp-2-6/ChangeLog
   branches/gimp-2-6/app/tools/gimpgegltool.c

Modified: branches/gimp-2-6/app/tools/gimpgegltool.c
==============================================================================
--- branches/gimp-2-6/app/tools/gimpgegltool.c	(original)
+++ branches/gimp-2-6/app/tools/gimpgegltool.c	Sun Jan 25 12:47:41 2009
@@ -743,6 +743,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]