viewSelector: Fix another case of mixing GJS and GObject signals

This is the same issue fixed in commit e08f2a4a04 for several other
classes, but this one somehow slipped through ...
This commit is contained in:
Florian Müllner 2017-02-23 23:16:07 +01:00
parent 32ec9959ef
commit 0ff5fc8dbb

View File

@ -77,6 +77,7 @@ Signals.addSignalMethods(TouchpadShowOverviewAction.prototype);
const ShowOverviewAction = new Lang.Class({ const ShowOverviewAction = new Lang.Class({
Name: 'ShowOverviewAction', Name: 'ShowOverviewAction',
Extends: Clutter.GestureAction, Extends: Clutter.GestureAction,
Signals: { 'activated': {} },
_init : function() { _init : function() {
this.parent(); this.parent();
@ -135,7 +136,6 @@ const ShowOverviewAction = new Lang.Class({
this.emit('activated', areaDiff); this.emit('activated', areaDiff);
} }
}); });
Signals.addSignalMethods(ShowOverviewAction.prototype);
const ViewSelector = new Lang.Class({ const ViewSelector = new Lang.Class({
Name: 'ViewSelector', Name: 'ViewSelector',