~vcs-imports/pygobject/master

Viewing all changes in revision 3614.

  • Committer: Thibault Saunier
  • Author(s): Mathieu Duponchelle
  • Date: 2021-12-06 22:19:49 UTC
  • Revision ID: git-v1:6115565b13f13407021b9f0b4d92c8c890eb19d8
gimodule: fix floating state of python objects created with g_object_new

If C code calls g_object_new() for a GInitiallyUnowned subclass
implemented in python, the expectation is to receive a floating
reference.

The solution is used is the same picked for
5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4, this is simply a special
case that was omitted at the time.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: