diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-08-25 16:47:11 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-09-19 18:39:02 +0200 |
commit | 7545b908dede007c663eefbd52cdbc7131bf7628 (patch) | |
tree | 1baa52a585b91f728a1085f82588a911b43655fc /gtk/gtkgestureswipe.c | |
parent | 67239f112e95ea238ce172ac3a71ec7425a0b28f (diff) | |
download | gtk+-7545b908dede007c663eefbd52cdbc7131bf7628.tar.gz |
gesture: Update to using GdkEvent API
To some extent, pad and touchpad gesture events need extra API.
Diffstat (limited to 'gtk/gtkgestureswipe.c')
-rw-r--r-- | gtk/gtkgestureswipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgestureswipe.c b/gtk/gtkgestureswipe.c index 9713226632..bcdd2d12ba 100644 --- a/gtk/gtkgestureswipe.c +++ b/gtk/gtkgestureswipe.c @@ -83,7 +83,7 @@ gtk_gesture_swipe_filter_event (GtkEventController *controller, const GdkEvent *event) { /* Let touchpad swipe events go through, only if they match n-points */ - if (event->type == GDK_TOUCHPAD_SWIPE) + if (gdk_event_get_event_type (event) == GDK_TOUCHPAD_SWIPE) { guint n_points; |