[gnome-shell] main: Replace Meta.register_with_session()



commit d8be637dca922b23a90e162e8d5fba25a3219806
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Jul 15 19:46:47 2021 +0200

    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>

 js/ui/main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index 979fcefa5d..549ecedd86 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -258,7 +258,7 @@ function _initializeUI() {
     // We're ready for the session manager to move to the next phase
     GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
         Shell.util_sd_notify();
-        Meta.register_with_session();
+        global.context.notify_ready();
         return GLib.SOURCE_REMOVE;
     });
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]