[gnome-music/wip/mschraal/gtk4: 37/102] smoothscale: Remove gesturemultipress -> gestureclick



commit b0ea3dfd12c01ceebca65480b278e01eb19b67ab
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 14:15:07 2019 +0100

    smoothscale: Remove gesturemultipress -> gestureclick

 gnomemusic/widgets/smoothscale.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/smoothscale.py b/gnomemusic/widgets/smoothscale.py
index e6eb3578..20bc9164 100644
--- a/gnomemusic/widgets/smoothscale.py
+++ b/gnomemusic/widgets/smoothscale.py
@@ -46,7 +46,7 @@ class SmoothScale(Gtk.Scale):
 
         self._timeout = None
 
-        self._controller = Gtk.GestureMultiPress().new(self)
+        self._controller = Gtk.GestureClick.new()
         self._controller.props.propagation_phase = Gtk.PropagationPhase.CAPTURE
         self._controller.connect("pressed", self._on_button_pressed)
         self._controller.connect("released", self._on_button_released)


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