gnome-shell/tests
Florian Müllner fc4f9f61fa signalTracker: Explicitly register destroyable types
We currently assume that any '::destroy' signal on a GObject type
has the semantics of the ClutterActor/GtkWidget signal, and should
therefore result in all signals being disconnected.

But we already have a case where the assumption doesn't hold: ShellWM
uses '::destroy' for the closing animation of windows, and the ShellWM
object itself remains very valid after the emission.

So rather than making assumptions about '::destroy', check objects
against a list of destroyable types that are explicitly registered
as such.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2226>
2022-03-06 00:10:03 +00:00
..
interactive tests/background-size: Remove ClutterActor::paint signal handler usage 2020-10-24 23:21:39 +02:00
testcommon cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
unit signalTracker: Explicitly register destroyable types 2022-03-06 00:10:03 +00:00
meson.build signalTracker: Provide monkey-patching for (dis)connectObject() 2022-03-04 14:14:37 +00:00
run-test.sh.in