[gnome-music/wip/mschraal/gtk4: 40/81] smoothscale: Remove gesturemultipress -> gestureclick



commit 834e4d1e74af49553feaaf4d12a4c54790f1ee65
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 31bd85cd..bff61c50 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]