int main(int argc, char** argv)
{
g_type_init();
GObject * obj = (GObject *)g_object_new(G_TYPE_INITIALLY_UNOWNED , NULL);
if(obj->ref_count ==1)
{
g_object_unref (obj);
}
return 0;
}
The class structure which was created, when will that be destroyed? The Gtype's associated with these and how will that memory get destroyed.
--