gob generates code using TYPE_GOBJECT instead of G_TYPE_OBJECT

From: Britton <fsblk_at_aurora.uaf.edu>
Date: Tue, 22 Apr 2003 13:35:23 -0800 (AKDT)

in the GType <class>_get_type(void) functions that gob 2.0.5 generates, I
see this:

...
                type = g_type_register_static (TYPE_GOBJECT,
"ImageDescription", &info, (GTypeFlags)0);
        }
        return type;
}

The compiler then complains that TYPE_GOBJECT is undeclared. It seems to
me that this should be a G_TYPE_OBJECT.

I am hoping that there is some simple reason for this, as gob looks like a
great relief from the pain of creating GObjects by hand. Is it still
maintained and in sync with glib?

Britton Kerin
__
GNU GPL: "The Source will be with you... always."
Received on Tue Apr 22 2003 - 17:35:29 CDT

This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:05:02 CDT