mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
fix iterating over fundamental types.
Tue Sep 2 14:53:41 2003 Tim Janik <timj@gtk.org> * gobject-query.c (main): fix iterating over fundamental types. * gtype.c: applied patch from owen which keeps internal class initialization state to maintain class and interface initialization happen in the order of: 1. class' base_init 2. interface' base_init = interfaces added after here are immediately base_init-ialized 3. class_init 4. Interface_init = interfaces added here are immediately Interface_init-ialized
This commit is contained in:
@@ -217,7 +217,7 @@ main (gint argc,
|
||||
if (gen_froots)
|
||||
{
|
||||
root = ~0;
|
||||
for (i = 0; i < 256; i++)
|
||||
for (i = 0; i <= G_TYPE_FUNDAMENTAL_MAX; i += G_TYPE_MAKE_FUNDAMENTAL (1))
|
||||
{
|
||||
const gchar *name = g_type_name (i);
|
||||
|
||||
|
Reference in New Issue
Block a user