Hello. I have a clutter cairo texture subclass added to stage and it redefines gobject's finalize and dispose methods, calling some C++ destructors.
GObjectClass* objectClass = G_OBJECT_CLASS(webViewClass); objectClass->dispose = webkit_web_view_dispose; objectClass->finalize = webkit_web_view_finalize; The problem is that after clutter_main() finishes I have dispose and finalize not called. I checked all the places where my clutter cairo texture can be referenced with g_object_ref but found none. Moreover if I call g_object_unref on stage delete-event signal after removing actor from stage, I get a warning that says I unref a null object. And after that destructors are called, i.e. finalize and dispose called. My question is - do I need to do something with actor after clutter main loop finishes to have it's finalize and dispose methods called if I don't ref this actor anywhere, just create with clutter_cairo_texture_new? Thank you, Viatcheslav Gachkaylo, Crystalnix _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
