main: Replace Meta.register_with_session()

The functionality moved into the new Meta.Context.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1917>
This commit is contained in:
Florian Müllner 2021-07-15 19:46:47 +02:00
parent e726527604
commit d8be637dca

View File

@ -258,7 +258,7 @@ function _initializeUI() {
// We're ready for the session manager to move to the next phase // We're ready for the session manager to move to the next phase
GLib.idle_add(GLib.PRIORITY_DEFAULT, () => { GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
Shell.util_sd_notify(); Shell.util_sd_notify();
Meta.register_with_session(); global.context.notify_ready();
return GLib.SOURCE_REMOVE; return GLib.SOURCE_REMOVE;
}); });