mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-23 22:16:16 +01:00
work around SGI IDO cc, fixes #363986.
Thu Jun 14 22:33:11 2007 Tim Janik <timj@imendio.com> * gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc, fixes #363986. svn path=/trunk/; revision=5559
This commit is contained in:
parent
b2d6494a5e
commit
b5986ac551
@ -1,3 +1,8 @@
|
||||
Thu Jun 14 22:33:11 2007 Tim Janik <timj@imendio.com>
|
||||
|
||||
* gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
|
||||
fixes #363986.
|
||||
|
||||
2007-06-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.13.4 ===
|
||||
|
@ -1470,17 +1470,17 @@ 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 */
|
||||
value_type, /* value_type */
|
||||
0xdeadbeef, /* value_type, assigned further down */
|
||||
NULL, /* finalize */
|
||||
param_gtype_set_default, /* value_set_default */
|
||||
param_gtype_validate, /* value_validate */
|
||||
param_gtype_values_cmp, /* values_cmp */
|
||||
};
|
||||
pspec_info.value_type = G_TYPE_GTYPE;
|
||||
type = g_param_type_register_static (g_intern_static_string ("GParamGType"), &pspec_info);
|
||||
*spec_types++ = type;
|
||||
g_assert (type == G_TYPE_PARAM_GTYPE);
|
||||
|
Loading…
Reference in New Issue
Block a user