[gnome-weather] main.js: Fix action parameters not being passed



commit 7ce1338df9161d13fbd237cca91338ee372cf0c6
Author: James Westman <flyingpimonster flyingpimonster net>
Date:   Sun Jun 9 22:44:32 2019 -0500

    main.js: Fix action parameters not being passed

 src/app/main.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/app/main.js b/src/app/main.js
index f5bd75c..f036046 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -116,7 +116,7 @@ const Application = GObject.registerClass(
             parameter_type: new GLib.VariantType('v'),
         });
         showLocationAction.connect('activate', (action, parameter) => {
-            this._onShowLocation();
+            this._onShowLocation(action, parameter);
         });
         this.add_action(showLocationAction);
 
@@ -126,7 +126,7 @@ const Application = GObject.registerClass(
             parameter_type: new GLib.VariantType('v'),
         })
         showSearchAction.connect('activate', (action, parameter) => {
-            this._onShowSearch();
+            this._onShowSearch(action, parameter);
         });
         this.add_action(showSearchAction);
 


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