GTK_DESTROYED not set after gtk_object_destroy() ?



Gtk-- needs to know whether objects have been destroyed, and we would
normally just check for the GTK_DESTROYED flag. But it seems to be unset
at the end of gtk_object_dispose(), which is called indirectly by
gtk_object_destroy() and g_object_unref().

Have I misread the code?

I guess that we can catch the destroyed signal instead, but the flag
would be simpler.

-- 
Murray Cumming
murrayc usa net
www.murrayc.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]