Skip to content
Commit fa876ff1 authored by Torsten Schönfeld's avatar Torsten Schönfeld
Browse files

Revert the change to the ref counting of initial wrappers of custom subclasses

This reverts the commit "Ensure timely destruction of initial wrapper of custom
subclasses", eb6ff1b1.

It turns out that the change causes issues with subclasses inheriting from
GInitiallyUnowned.  Instances of classes derived from GInitiallyUnowned would
be destroyed prematurely when code in INIT_INSTANCE manages to sink the
initial, floating reference.

Reported by Kevin Ryde.
parent 67b3a1a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment