gnome-shell/js
Florian Müllner 26235bbe54 js: Use (dis)connectObject()
Start using the new methods to simplify signal cleanup. For now,
focus on replacing existing cleanups; in most cases this means
signals connected in the constructor and disconnected on destroy,
but also other cases with a similarly defined lifetime (say: from
show to hide).

This doesn't change signal connections that only exist for a short
time (say: once), handlers that are connected on-demand (say: the
first time a particular method is called), or connections that
aren't tracked (read: disconnected) at all.

We will eventually replace the latter with connectObject() as
well - especially from actor subclasses - but the changeset is
already big enough as-is :-)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1953>
2022-03-04 14:14:37 +00:00
..
dbusServices js: Simplify promisify() calls 2022-02-11 16:24:01 +00:00
gdm js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
misc js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
perf cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
portalHelper cleanup: Use new indentation style for object literals 2022-02-23 12:23:52 +00:00
ui js: Use (dis)connectObject() 2022-03-04 14:14:37 +00:00
js-resources.gresource.xml signalTracker: Provide monkey-patching for (dis)connectObject() 2022-03-04 14:14:37 +00:00
meson.build
portal-resources.gresource.xml