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/gtkimcontext.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/gtkimcontext.c')
-rw-r--r-- | gtk/gtkimcontext.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c index c01b5b98de..4604a7651f 100644 --- a/gtk/gtkimcontext.c +++ b/gtk/gtkimcontext.c @@ -127,7 +127,7 @@ static void gtk_im_context_real_get_preedit_string (GtkIMContext *context, PangoAttrList **attrs, gint *cursor_pos); static gboolean gtk_im_context_real_filter_keypress (GtkIMContext *context, - GdkEventKey *event); + GdkEvent *event); static gboolean gtk_im_context_real_get_surrounding (GtkIMContext *context, gchar **text, gint *cursor_index); @@ -371,8 +371,8 @@ gtk_im_context_real_get_preedit_string (GtkIMContext *context, } static gboolean -gtk_im_context_real_filter_keypress (GtkIMContext *context, - GdkEventKey *event) +gtk_im_context_real_filter_keypress (GtkIMContext *context, + GdkEvent *event) { return FALSE; } @@ -511,7 +511,7 @@ gtk_im_context_get_preedit_string (GtkIMContext *context, **/ gboolean gtk_im_context_filter_keypress (GtkIMContext *context, - GdkEventKey *key) + GdkEvent *key) { GtkIMContextClass *klass; |