diff options
Diffstat (limited to 'gobject/gparamspecs.c')
-rw-r--r-- | gobject/gparamspecs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gobject/gparamspecs.c b/gobject/gparamspecs.c index 953bb8d0a..78bb7cb95 100644 --- a/gobject/gparamspecs.c +++ b/gobject/gparamspecs.c @@ -1453,11 +1453,12 @@ g_param_spec_types_init (void) /* G_TYPE_PARAM_GTYPE */ { + GType value_type = G_TYPE_GTYPE; GParamSpecTypeInfo pspec_info = { sizeof (GParamSpecGType), /* instance_size */ 0, /* n_preallocs */ param_gtype_init, /* instance_init */ - G_TYPE_GTYPE, /* value_type */ + value_type, /* value_type */ NULL, /* finalize */ param_gtype_set_default, /* value_set_default */ param_gtype_validate, /* value_validate */ |