GNOME Bugzilla – Bug 706207
MetaWindowActor: fix reference counting issue
Last modified: 2013-08-17 22:21:22 UTC
I have really no idea why nobody noticed this before. Might be a recent leak fix that uncovered this, or simply nobody uses the default plugin (and gnome-shell has a GC keeping stuff alive long after C code is done with it). Patch for the x11 branch. To be cherry-picked for wayland.
Created attachment 252019 [details] [review] MetaWindowActor: fix reference counting issue We need to use g_signal_connect_object(), rather than g_signal_connect(), because the window actor can be destroyed before the window emits the final notify::appears-focused inside unmanage, if the plugin decides that it doesn't want to animate the destruction (which happens with dialogs and the default plugin)
Review of attachment 252019 [details] [review]: Good catch.
Attachment 252019 [details] pushed as 506ddc3 - MetaWindowActor: fix reference counting issue