[Webkit-unassigned] [Bug 105076] Documentation issue for gobject bindings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 17 10:02:03 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105076





--- Comment #4 from Xan Lopez <xan.lopez at gmail.com>  2012-12-17 10:04:20 PST ---
(In reply to comment #2)
> I'm a webkit newbie, but all gobject binding functions I had to use needed unrefing, otherwise the objects would live forever (and hold all the Document/html elements in memory).
> 
> Maybe there someone knows about some special function in the bindings that return a gobject that doesn't need unrefing? I couldn't find any.

All the GObject DOM bindings are automatically "garbage collected" when the frame they are living in goes away, so there's no need to manually unref them (FWIW, things will still work if you do that, it's just not needed). That would be the reason for the transfer annotation.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list