summaryrefslogtreecommitdiff
path: root/gtk/gtkcombobox.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-02-20 21:21:08 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-02-21 00:51:03 -0500
commit8823882f976557f1c17d314a81a095a37a69d03e (patch)
tree66b4f87816e388344ac11261cb4aa04d51c16a79 /gtk/gtkcombobox.c
parent9e415ad017f7af4ad1325f0ac5f405234a817429 (diff)
downloadgtk+-8823882f976557f1c17d314a81a095a37a69d03e.tar.gz
gtk: Stop using GdkEventKey
We should just use GdkEvent, instead of taking a GdkEventKey, and then cast it everywhere.
Diffstat (limited to 'gtk/gtkcombobox.c')
-rw-r--r--gtk/gtkcombobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index ac529c718e..9a013d554f 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -1795,7 +1795,7 @@ gtk_combo_box_menu_key (GtkEventControllerKey *key,
widget = gtk_event_controller_get_widget (GTK_EVENT_CONTROLLER (key));
event = gtk_get_current_event ();
- if (!gtk_bindings_activate_event (G_OBJECT (widget), (GdkEventKey *)event))
+ if (!gtk_bindings_activate_event (G_OBJECT (widget), event))
{
gtk_event_controller_key_forward (key, GTK_WIDGET (combo_box));
}