glib r7374 - trunk/gobject



Author: johan
Date: Wed Aug 20 15:51:53 2008
New Revision: 7374
URL: http://svn.gnome.org/viewvc/glib?rev=7374&view=rev

Log:
2008-08-20  Johan Dahlin  <johan gnome org>

    Bug 548689 â The type name for GParamSpec is wrong

    * gparam.c (g_param_type_init):
    Register the type name as GParam instead of GParamSpec.



Modified:
   trunk/gobject/ChangeLog
   trunk/gobject/gparam.c

Modified: trunk/gobject/gparam.c
==============================================================================
--- trunk/gobject/gparam.c	(original)
+++ trunk/gobject/gparam.c	Wed Aug 20 15:51:53 2008
@@ -122,7 +122,7 @@
   };
   GType type;
 
-  type = g_type_register_fundamental (G_TYPE_PARAM, g_intern_static_string ("GParam"), &param_spec_info, &finfo, G_TYPE_FLAG_ABSTRACT);
+  type = g_type_register_fundamental (G_TYPE_PARAM, g_intern_static_string ("GParamSpec"), &param_spec_info, &finfo, G_TYPE_FLAG_ABSTRACT);
   g_assert (type == G_TYPE_PARAM);
   g_value_register_transform_func (G_TYPE_PARAM, G_TYPE_PARAM, value_param_transform_value);
 }



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