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.h | |
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.h')
-rw-r--r-- | gtk/gtkimcontext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkimcontext.h b/gtk/gtkimcontext.h index 3d77266975..33b41d5895 100644 --- a/gtk/gtkimcontext.h +++ b/gtk/gtkimcontext.h @@ -68,7 +68,7 @@ struct _GtkIMContextClass PangoAttrList **attrs, gint *cursor_pos); gboolean (*filter_keypress) (GtkIMContext *context, - GdkEventKey *event); + GdkEvent *event); void (*focus_in) (GtkIMContext *context); void (*focus_out) (GtkIMContext *context); void (*reset) (GtkIMContext *context); @@ -106,7 +106,7 @@ void gtk_im_context_get_preedit_string (GtkIMContext *context, gint *cursor_pos); GDK_AVAILABLE_IN_ALL gboolean gtk_im_context_filter_keypress (GtkIMContext *context, - GdkEventKey *event); + GdkEvent *event); GDK_AVAILABLE_IN_ALL void gtk_im_context_focus_in (GtkIMContext *context); GDK_AVAILABLE_IN_ALL |