swipeTracker: Remove unused property

The :allow-long-swipes GObject property relies on the automatic
getter/setter added by gjs and is not actually backed by
_allowLongSwipes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1765>
This commit is contained in:
Florian Müllner 2021-03-11 16:08:41 +01:00 committed by Marge Bot
parent d49606bbaa
commit d271a51bfd

View File

@ -471,7 +471,6 @@ var SwipeTracker = GObject.registerClass({
this.orientation = orientation; this.orientation = orientation;
this._allowedModes = allowedModes; this._allowedModes = allowedModes;
this._enabled = true; this._enabled = true;
this._allowLongSwipes = false;
this._distance = global.screen_height; this._distance = global.screen_height;
this._history = new EventHistory(); this._history = new EventHistory();
this._reset(); this._reset();