[gnome-music/wip/mschraal/gtk4: 96/143] smoothscale: Remove gesturemultipress -> gestureclick



commit 3197f3a97df53c3b762593366d3297bb642ae81f
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 c17b315d..0f3742ef 100644
--- a/gnomemusic/widgets/smoothscale.py
+++ b/gnomemusic/widgets/smoothscale.py
@@ -55,7 +55,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]