Use event instead key in the previous patch

This commit is contained in:
Javier Jardón 2010-05-05 03:52:38 +02:00
parent 7692a427a6
commit 713f2b638e
4 changed files with 6 additions and 6 deletions

View File

@ -5848,11 +5848,11 @@ gtk_entry_reset_im_context (GtkEntry *entry)
*/ */
gboolean gboolean
gtk_entry_im_context_filter_keypress (GtkEntry *entry, gtk_entry_im_context_filter_keypress (GtkEntry *entry,
GdkEventKey *key) GdkEventKey *event)
{ {
g_return_val_if_fail (GTK_IS_ENTRY (entry), FALSE); 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);
} }

View File

@ -307,7 +307,7 @@ GdkWindow * gtk_entry_get_icon_window (GtkEntry *
GtkEntryIconPosition icon_pos); GtkEntryIconPosition icon_pos);
gboolean gtk_entry_im_context_filter_keypress (GtkEntry *entry, gboolean gtk_entry_im_context_filter_keypress (GtkEntry *entry,
GdkEventKey *key); GdkEventKey *event);
void gtk_entry_reset_im_context (GtkEntry *entry); void gtk_entry_reset_im_context (GtkEntry *entry);

View File

@ -6634,11 +6634,11 @@ gtk_text_view_reset_im_context (GtkTextView *text_view)
*/ */
gboolean gboolean
gtk_text_view_im_context_filter_keypress (GtkTextView *text_view, 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); 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);
} }
/* /*

View File

@ -308,7 +308,7 @@ gboolean gtk_text_view_move_visually (GtkTextView *text_v
gint count); gint count);
gboolean gtk_text_view_im_context_filter_keypress (GtkTextView *text_view, 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); void gtk_text_view_reset_im_context (GtkTextView *text_view);
/* Adding child widgets */ /* Adding child widgets */