From ef9a178b8ef82c5971fda9ccb0b8aeb1760e4eab Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 23 Jun 2004 16:56:48 +0000 Subject: [PATCH] Add an initializer for the g_define_type_info.value_table. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Wed Jun 23 12:55:34 2004 Matthias Clasen * gtype.h (G_DEFINE_TYPE_EXTENDED): Add an initializer for the g_define_type_info.value_table. (#144678,Mariano Suárez-Alvarez) --- gobject/ChangeLog | 6 ++++++ gobject/gtype.h | 1 + 2 files changed, 7 insertions(+) diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 2c4bea9..1d8aef2 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,9 @@ +Wed Jun 23 12:55:34 2004 Matthias Clasen + + * 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 * gsignal.c: Fix a couple of typos. diff --git a/gobject/gtype.h b/gobject/gtype.h index c9b93b2..6e3b9d6 100644 --- a/gobject/gtype.h +++ b/gobject/gtype.h @@ -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 ; } \ -- 2.7.4