summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Danielsson <jonas@threetimestwo.org>2015-09-25 18:48:58 +0200
committerJonas Danielsson <jonas@threetimestwo.org>2015-09-25 18:54:03 +0200
commit36bec7229a5186780580eeb001c141625741e188 (patch)
tree73e45bde647ab693788fe94a6a9fd8fefee38e6b
parentb0f2c86b6650b5becf66ee1bd1b0b8688c3e69da (diff)
downloadgnome-maps-36bec7229a5186780580eeb001c141625741e188.tar.gz
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
-rw-r--r--src/application.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/application.js b/src/application.js
index e92e6e84..0f583b20 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));
},