Skip to content

binding: Clarify the use of g_object_unref() to remove a binding

Benjamin Berg requested to merge bberg/glib:doc-binding-improvement into master

Conceptually the binding is kept alive as long as both the source and target exist. This means that an API user needs to take some care to either hold a reference or only use a pointer to the binding as long as also holding references to both objects.

Clarify the documentation a bit.

Merge request reports