From 0ff5fc8dbba7ac3026b27f81433460d32bb5fc03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 23 Feb 2017 23:16:07 +0100 Subject: [PATCH] viewSelector: Fix another case of mixing GJS and GObject signals This is the same issue fixed in commit e08f2a4a041 for several other classes, but this one somehow slipped through ... --- js/ui/viewSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 182d344d5..211ed42c6 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -77,6 +77,7 @@ Signals.addSignalMethods(TouchpadShowOverviewAction.prototype); const ShowOverviewAction = new Lang.Class({ Name: 'ShowOverviewAction', Extends: Clutter.GestureAction, + Signals: { 'activated': {} }, _init : function() { this.parent(); @@ -135,7 +136,6 @@ const ShowOverviewAction = new Lang.Class({ this.emit('activated', areaDiff); } }); -Signals.addSignalMethods(ShowOverviewAction.prototype); const ViewSelector = new Lang.Class({ Name: 'ViewSelector',