On 03/07/2009 02:11 AM, Eddie Carle wrote:
I want my TreeModel freed when it goes out of scope.
Why do you think there is a Glib::RefPtr<TreeModel> ? It is not just for the show. It will unref when the Glib::RefPtr<> is destroyed, therefor when you leave the scope.
I still don't understand WHY you want to make it more complicated. The allocation policy using Glib::RefPtr<> is actually the much simplier part of Gtkmm.
Hub _______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtkmm-list