Re: g_object_ref_sink and GUnowned



On Thu, 22 Dec 2005, Yevgen Muntyan wrote:

Tim Janik wrote:

in fact, there is no technical reason for this. so many people have
argued this to be better though (havoc even went so far as to argue
why this would be conceptually neccessary), that i decided to simply
sponsor an object type if that helps the majority to understand which
objects are floating and which are not.

Just curious, how it will prevent someone from using floating reference in
GObject-not-GUnowned-derived object?

not GInitiallyUnowned derived objects have no floating
reference, so there's nothing there that could be used.

Merry Christmas.

---
ciaoTJ



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