Re: The use of RefPtr



On Sun, 2009-03-08 at 17:33 +0000, Chris Vine wrote:
> In glib-2/gtk+-2 a lot of the code formerly in GtkObject was moved to
> GObject.  There is no significant difference in memory management
> between a pure GObject and a GtkObject, other than the floating
> reference, which amounts to very little (it is a device to make it
> easier for containers to take ownership). They could both be wrapped
> identically in gtkmm, as they are in other bindings such as PyGTK and
> java-gtk+. They have not been, and that's fine.

You are welcome to try to create a patch that could be applied for gtkmm
3.0. If GTK+ 3.0 really happens as planned (not a plan I like) then we
will be forced to do an ABI break anyway.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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