On Mon, 2013-09-02 at 16:13 +0200, Krzysztof Kosiński wrote: > 2013/9/2 Kjell Ahlstedt <kjell.ahlst...@bredband.net>: > > Objects of classes that derive from Gtk::Object are not put in > > Glib::RefPtr<>s. I'm not sure why. > > I'm also a little confused by this but it probably has something to do > with Gtk::manage().
GtkWidgets don't use simple reference counting in the GTK+ C API. They can be destroyed at any time regardless of the reference count. So we can't use RefPtr with them easily. -- murr...@murrayc.com www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list