diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-16 11:09:02 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-21 00:51:02 -0500 |
commit | 31bf9da63acaa2bfb9d2163c80289caa618a06ca (patch) | |
tree | 539ce0bc412aa52a18116b2c53ce6faae7e36d05 /gtk/gtkgestureswipe.c | |
parent | 1026bfb1ac6cfb5b47012b0a7f43ab85dabfbd91 (diff) | |
download | gtk+-31bf9da63acaa2bfb9d2163c80289caa618a06ca.tar.gz |
Strip const from GdkEvent
Events are refcounted structs, and we generally don't
pass these as const.
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 2ff8678c7f..eb0a04a195 100644 --- a/gtk/gtkgestureswipe.c +++ b/gtk/gtkgestureswipe.c @@ -82,7 +82,7 @@ gtk_gesture_swipe_finalize (GObject *object) static gboolean gtk_gesture_swipe_filter_event (GtkEventController *controller, - const GdkEvent *event) + GdkEvent *event) { /* Let touchpad swipe events go through, only if they match n-points */ if (gdk_event_get_event_type (event) == GDK_TOUCHPAD_SWIPE) |