Bug 548689 – The type name for GParamSpec is wrong

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
This commit is contained in:
Johan Dahlin 2008-08-20 15:51:53 +00:00 committed by Johan Dahlin
parent 971ab2b50f
commit 0f7359d215
2 changed files with 8 additions and 1 deletions

View 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 ===

View 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);
}