Commit 713f2b63 authored by Javier Jardón's avatar Javier Jardón

Use event instead key in the previous patch

parent 7692a427
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment