Re: The use of RefPtr
- From: Hubert Figuiere <hub figuiere net>
- To: Eddie Carle <eddie erctech org>
- Cc: gtkmm-list gnome org
- Subject: Re: The use of RefPtr
- Date: Sat, 07 Mar 2009 02:14:04 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]