[gnome-maps] application: Fix return value for 'handle-local-options'



commit 36bec7229a5186780580eeb001c141625741e188
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Fri Sep 25 18:48:58 2015 +0200

    application: Fix return value for 'handle-local-options'
    
    We need to return -1  in the handler to signal that default
    processing should resume.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755521

 src/application.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index e92e6e8..0f583b2 100644
--- a/src/application.js
+++ b/src/application.js
@@ -91,6 +91,8 @@ const Application = new Lang.Class({
                 let variant = options.lookup_value('local', null);
                 this.local_tile_path = variant.deep_unpack();
             }
+
+            return -1;
         }).bind(this));
     },
 


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