Re: Glib::wrap with copy=true semantics?



On Fri, 2005-03-04 at 09:53 -0800, Philip Langdale wrote:
> Murray Cumming wrote:
> > 
> > Also, in gtkmm, I don't think we ever do an extra refcount on
> > GtkAdjustments. We only do this in combination with Glib::RefPtr<>,
> > which we don't use with GtkObjects. Without Glib::RefPtr<> there is no
> > way to unref it again.
> > 
> 
> I have attached a test case.

Like I said, we don't refcount GtkAdjustments, and I don't recommend
that you do.

-- 
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]