binding: Add an explicit unbind()

Desktop / GNOME / GLib - Emmanuele Bassi [gnome.org] - 2 May 2013 17:50 UTC

Higher order languages with garbage collection can have issues releasing a binding, as they do not control the last reference being dropped on the binding, source, or target instances.

https://bugzilla.gnome.org/show_bug.cgi?id=698018

a360b31 binding: Add an explicit unbind()
docs/reference/gobject/gobject-sections.txt | 1 +
gobject/gbinding.c | 89 ++++++++++++++++++---------
gobject/gbinding.h | 2 +
gobject/tests/binding.c | 32 ++++++++++
4 files changed, 95 insertions(+), 29 deletions(-)

Upstream: git.gnome.org


  • Share