[gnome-maps/gnome-43] application: Fix setting startup flag with --local
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-maps/gnome-43] application: Fix setting startup flag with --local
- Date: Thu, 22 Sep 2022 19:21:53 +0000 (UTC)
commit e75b858d6b431ef9af83c7e9956b892999f464d5
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]