Add an initializer for the g_define_type_info.value_table.

Wed Jun 23 12:55:34 2004  Matthias Clasen  <maclas@gmx.de>

	* gtype.h (G_DEFINE_TYPE_EXTENDED): Add an initializer for
	the g_define_type_info.value_table.  (#144678,Mariano
	Suárez-Alvarez)
This commit is contained in:
Matthias Clasen 2004-06-23 16:56:48 +00:00 committed by Matthias Clasen
parent 160cd96ae2
commit ef9a178b8e
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Wed Jun 23 12:55:34 2004 Matthias Clasen <maclas@gmx.de>
* gtype.h (G_DEFINE_TYPE_EXTENDED): Add an initializer for
the g_define_type_info.value_table. (#144678,Mariano
Suárez-Alvarez)
Tue Jun 22 21:50:47 2004 Matthias Clasen <maclas@gmx.de>
* gsignal.c: Fix a couple of typos.

View File

@ -372,6 +372,7 @@ type_name##_get_type (void) \
sizeof (TypeName), \
0, /* n_preallocs */ \
(GInstanceInitFunc) type_name##_init, \
NULL /* value_table */ \
}; \
g_define_type_id = g_type_register_static (TYPE_PARENT, #TypeName, &g_define_type_info, (GTypeFlags) flags); \
{ CODE ; } \