[gnome-maps/wip/mlundblad/fix-local-tiles: 10/10] application: Fix setting startup flag with --local




commit 5ac57476b8f456596cd867af98c1b2a810cc1b08
Author: Marcus Lundblad <ml dfupdate se>
Date:   Tue Sep 13 23:15:16 2022 +0200

    application: Fix setting startup flag with --local
    
    Use the correct static reference to Application when
    setting the normal startup flag when using local tiles.

 src/application.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/application.js b/src/application.js
index 5e217201..41fb76b3 100644
--- a/src/application.js
+++ b/src/application.js
@@ -305,7 +305,7 @@ export class Application extends Adw.Application {
         if (options.contains('local')) {
             let variant = options.lookup_value('local', null);
             this.local_tile_path = variant.deep_unpack();
-            normalStartup = false;
+            Application.normalStartup = false;
             if (options.contains('local-tile-size')) {
                 variant = options.lookup_value('local-tile-size', null);
                 this.local_tile_size = variant.deep_unpack();


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