From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Baulig To: Ariel Rios Cc: guile-gtk@sourceware.cygnus.com Subject: GTK+ 1.3 GTK_TYPE issues Date: Wed, 29 Nov 2000 15:27:00 -0000 Message-id: <86d7febbo4.fsf@einstein.home-of-linux.org> X-SW-Source: 2000-q4/msg00054.html Hi, so after this configure problem is solved and I committed a small sgtk_signal_emit() fix for it, this stuff basically compiles with GTK+ 1.3 except one thing and that's actually a bigger problem: In GTK+ 1.3, types like GTK_TYPE_OBJECT are no longer constants but macros which expand to gtk_object_get_type(). So this stuff now looks like the following: === sgtk_object_info sgtk_gtk_object_info = { { "GtkObject", (gtk_object_get_type ()) }, gtk_object_get_type }; === This is, of course, not allowed and your C compiler correctly aborts with a parse error. I think the only way to solve this is to keep the structure uninitialized and call an init function after GTK+ has been initialized. Ideas ? -- Martin Baulig martin@gnome.org (private) baulig@suse.de (work)