mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
Use event instead key in the previous patch
This commit is contained in:
parent
7692a427a6
commit
713f2b638e
@ -5848,11 +5848,11 @@ gtk_entry_reset_im_context (GtkEntry *entry)
|
||||
*/
|
||||
gboolean
|
||||
gtk_entry_im_context_filter_keypress (GtkEntry *entry,
|
||||
GdkEventKey *key)
|
||||
GdkEventKey *event)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_ENTRY (entry), FALSE);
|
||||
|
||||
return gtk_im_context_filter_keypress (entry->im_context, key);
|
||||
return gtk_im_context_filter_keypress (entry->im_context, event);
|
||||
}
|
||||
|
||||
|
||||
|
@ -307,7 +307,7 @@ GdkWindow * gtk_entry_get_icon_window (GtkEntry *
|
||||
GtkEntryIconPosition icon_pos);
|
||||
|
||||
gboolean gtk_entry_im_context_filter_keypress (GtkEntry *entry,
|
||||
GdkEventKey *key);
|
||||
GdkEventKey *event);
|
||||
void gtk_entry_reset_im_context (GtkEntry *entry);
|
||||
|
||||
|
||||
|
@ -6634,11 +6634,11 @@ gtk_text_view_reset_im_context (GtkTextView *text_view)
|
||||
*/
|
||||
gboolean
|
||||
gtk_text_view_im_context_filter_keypress (GtkTextView *text_view,
|
||||
GdkEventKey *key)
|
||||
GdkEventKey *event)
|
||||
{
|
||||
g_return_val_if_fail (GTK_IS_TEXT_VIEW (text_view), FALSE);
|
||||
|
||||
return gtk_im_context_filter_keypress (text_view->im_context, key);
|
||||
return gtk_im_context_filter_keypress (text_view->im_context, event);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -308,7 +308,7 @@ gboolean gtk_text_view_move_visually (GtkTextView *text_v
|
||||
gint count);
|
||||
|
||||
gboolean gtk_text_view_im_context_filter_keypress (GtkTextView *text_view,
|
||||
GdkEventKey *key);
|
||||
GdkEventKey *event);
|
||||
void gtk_text_view_reset_im_context (GtkTextView *text_view);
|
||||
|
||||
/* Adding child widgets */
|
||||
|
Loading…
Reference in New Issue
Block a user