Bug 548689 – The type name for GParamSpec is wrong
authorJohan Dahlin <johan@gnome.org>
Wed, 20 Aug 2008 15:51:53 +0000 (15:51 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Wed, 20 Aug 2008 15:51:53 +0000 (15:51 +0000)
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.

svn path=/trunk/; revision=7374

gobject/ChangeLog
gobject/gparam.c

index 00a04f40aa4451e6975fd9dd9478be2ab5ffa4e6..051b50fde4f8e5809a6170b33cf5da53d02c4a1b 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2008-08-18  Matthias Clasen  <mclasen@redhat.com>
 
        * === Released 2.17.7 ===
index d981b044eecd734b5c85e9dbeb874d7343080963..b6357464176fd050b8c92dc62b73209028189e77 100644 (file)
@@ -122,7 +122,7 @@ g_param_type_init (void)
   };
   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);
 }