#include /* prototypes */ #define SIMPLE_OBJECT_TYPE (simple_object_get_type ()) GType simple_object_get_type (); GType simple_object_get_type () { static GType type = 0; return type; } int main (int argc, char **argv) { GObject *obj; g_type_init (); obj = g_object_new (SIMPLE_OBJECT_TYPE, NULL); return 0; }