diff options
author | Tim Janik <timj@gtk.org> | 2003-09-02 12:58:23 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2003-09-02 12:58:23 +0000 |
commit | de059b53bc12918e927c2234a3ebe0910f6f7ed1 (patch) | |
tree | 40ab44b80352fc713f7968ce8baaff6b85a60ff2 /gobject/gobject-query.c | |
parent | 056041aab91f2d5bc90b6d2ba6dca1ebb69b87b0 (diff) | |
download | glib-de059b53bc12918e927c2234a3ebe0910f6f7ed1.tar.gz |
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
Diffstat (limited to 'gobject/gobject-query.c')
-rw-r--r-- | gobject/gobject-query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gobject-query.c b/gobject/gobject-query.c index 584c45113..6d16444f4 100644 --- a/gobject/gobject-query.c +++ b/gobject/gobject-query.c @@ -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); |