From: Thiago A. <thi...@gm...> - 2009-07-23 21:53:07
|
On Thu, Jul 23, 2009 at 6:32 PM, Axel Simon<Axe...@en...> wrote: > Ok, then I have to dig more around old documentation to make sense of it. > It's very odd if objects are created with a reference count of zero. Maybe people back then were asked to always objRef the objects if they planned to keep them around and the reference counter started at zero to allow pointers to be passed to other functions without forcing one to write the reference counting code when the user didn't plan to keep a reference. On the other hand, that doesn't explain the need for refSink to be introduced. Anyway, I was just thinking out loud. > Maybe > there was a different floating reference before 2.10 (or refSink was present > before 2.10). Nope, refSink was introduced with 2.10. I think 2.8.6 is the latest (stable) one prior to 2.10 and it doesn't have refSink. > Which GLib version did you check? GLib 2.6.4 and 2.8.6 > Thanks for the patience, No problem. Thank *you* for taking the time to investigate this thing deeper. Cheers, Thiago Arrais > Axel. |