mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
Replace gdk.ALL_EVENTS_MASK with proper minimal set of event flags
This commit is contained in:
parent
aa7c3747ba
commit
e1182e28c3
1 changed files with 2 additions and 1 deletions
|
@ -667,7 +667,8 @@ class TimelineFeature (FeatureBase):
|
|||
box = window.get_top_attach_point ()
|
||||
|
||||
self.timeline = TimelineWidget ()
|
||||
self.timeline.add_events (gtk.gdk.ALL_EVENTS_MASK) # FIXME
|
||||
self.timeline.add_events (gtk.gdk.BUTTON1_MOTION_MASK |
|
||||
gtk.gdk.BUTTON_PRESS_MASK)
|
||||
self.timeline.connect ("button-press-event", self.handle_timeline_button_press_event)
|
||||
self.timeline.connect ("motion-notify-event", self.handle_timeline_motion_notify_event)
|
||||
box.pack_start (self.timeline, False, False, 0)
|
||||
|
|
Loading…
Reference in a new issue