Re: [gtk-list] GtkObject ref counting [was: resize queuing]



On 25 Sep 1997, Marius Vollmer wrote:

> That's it.  While a signal is being emitted for a object, the ref
> count is increased.  Widgets that sit in some queue like the redraw
> queue do not get their reference count bumped for this.  Rather, they
> romve themselves from this queue in their "destroy" handler.  When the
> operation that they are waiting for in the queue becomes bogus
> (because they are no longer part of the widget hierachy, or are
> unrealized, etc), it should be obvious from the state they are in.
> 
> Makes sense?

As far as I can tell, this suffers from the same problem as the current
system: if a reference is kept by an external environment, the widget can
never be destroyed.

-- 
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)




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