Re: none



Tim Janik <timj gtk org> writes:

> 
> i don't know who proposed, that dude must have been on crack,
> destroy serves a completely different purpose than weak_refs.
> 

They both have the end result of notifying you whent he object is
destroyed.

> the reason why i didn't implement weak_refs for GObject is that they
> are extremely rarely used on GtkObject,

Yeah, because the "destroy" signal is so much more convenient.

> and for the rare cases where you can't get away without it, you can
> still use named data (which is how weak refs are implemented in
> GObject btw).

That's highly no-obvious and inconvenient. Why make things a pain for
the user?

 - Maciej





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