Skip to content

pygobject-object: fix refcount of floating return values

When g_signal_emitv returns a floating reference as the return value, which we end up ref_sinking, do not unset the GValue, as we've taken ownership from it and don't want it to drop its reference.

Adds a test that highlights the issue

Merge request reports