diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-20 21:21:08 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-21 00:51:03 -0500 |
commit | 8823882f976557f1c17d314a81a095a37a69d03e (patch) | |
tree | 66b4f87816e388344ac11261cb4aa04d51c16a79 /gtk/gtkcombobox.c | |
parent | 9e415ad017f7af4ad1325f0ac5f405234a817429 (diff) | |
download | gtk+-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.c | 2 |
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)); } |