summaryrefslogtreecommitdiff
path: root/gtk/gtkeventcontroller.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-02-16 11:09:02 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-02-21 00:51:02 -0500
commit31bf9da63acaa2bfb9d2163c80289caa618a06ca (patch)
tree539ce0bc412aa52a18116b2c53ce6faae7e36d05 /gtk/gtkeventcontroller.h
parent1026bfb1ac6cfb5b47012b0a7f43ab85dabfbd91 (diff)
downloadgtk+-31bf9da63acaa2bfb9d2163c80289caa618a06ca.tar.gz
Strip const from GdkEvent
Events are refcounted structs, and we generally don't pass these as const.
Diffstat (limited to 'gtk/gtkeventcontroller.h')
-rw-r--r--gtk/gtkeventcontroller.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkeventcontroller.h b/gtk/gtkeventcontroller.h
index 2ca16342a7..38569453f1 100644
--- a/gtk/gtkeventcontroller.h
+++ b/gtk/gtkeventcontroller.h
@@ -76,7 +76,7 @@ GtkWidget * gtk_event_controller_get_widget (GtkEventController *controller
GDK_AVAILABLE_IN_ALL
gboolean gtk_event_controller_handle_event (GtkEventController *controller,
- const GdkEvent *event,
+ GdkEvent *event,
GtkWidget *target,
double x,
double y);