+2006-04-23 Matthias Clasen <mclasen@redhat.com>
+
+ * gobject.symbols: Fix a typo.
+
+ * gtype.c: (g_type_register_static_simple): Add a
+ missing return.
+
+ * gtype.h: Silence warnings from G_DEFINE_TYPE.
+
2006-04-21 Matthias Clasen <mclasen@redhat.com>
* gobject.symbols:
g_boxed_copy
g_boxed_free
g_boxed_type_register_static
-g_boxed_type_register_static_simple
g_date_get_type G_GNUC_CONST
g_gstring_get_type G_GNUC_CONST
g_strv_get_type G_GNUC_CONST
g_type_register_dynamic
g_type_register_fundamental
g_type_register_static
+g_type_register_static_simple
g_type_remove_class_cache_func
g_type_remove_interface_check
g_type_set_qdata
info.instance_init = instance_init;
info.value_table = NULL;
- g_type_register_static (parent_type, type_name, &info, flags);
+ return g_type_register_static (parent_type, type_name, &info, flags);
}
GType
g_type_register_static_simple (TYPE_PARENT, \
g_intern_static_string (#TypeName), \
sizeof (TypeName##Class), \
- type_name##_class_intern_init, \
+ (GClassInitFunc)type_name##_class_intern_init, \
sizeof (TypeName), \
- type_name##_init, \
+ (GInstanceInitFunc)type_name##_init, \
(GTypeFlags) flags); \
{ CODE ; } \
} \