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/gtkgestureclick.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/gtkgestureclick.c')
-rw-r--r-- | gtk/gtkgestureclick.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkgestureclick.c b/gtk/gtkgestureclick.c index 27b64eb684..ba815e4eb8 100644 --- a/gtk/gtkgestureclick.c +++ b/gtk/gtkgestureclick.c @@ -197,7 +197,7 @@ gtk_gesture_click_begin (GtkGesture *gesture, GtkGestureClickPrivate *priv; guint n_presses, button = 1; GdkEventSequence *current; - const GdkEvent *event; + GdkEvent *event; GdkEventType event_type; GdkDevice *device; gdouble x, y; @@ -307,7 +307,7 @@ gtk_gesture_click_reset (GtkEventController *controller) static gboolean gtk_gesture_click_handle_event (GtkEventController *controller, - const GdkEvent *event, + GdkEvent *event, double x, double y) { |