[gtk+/gtk-2-22] Use event instead key in the previous patch



commit 489657f305a2c3fb7328f54dae7fd963c1d2a9a0
Author: Javier Jardón <jjardon gnome org>
Date:   Wed May 5 03:52:38 2010 +0200

    Use event instead key in the previous patch

 gtk/gtkentry.c    |    4 ++--
 gtk/gtkentry.h    |    2 +-
 gtk/gtktextview.c |    4 ++--
 gtk/gtktextview.h |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 066fd9c..4eae62c 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -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);
 }
 
 
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index e204495..9bbba0b 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -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);
 
 
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index f12621d..2819c79 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -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);
 }
 
 /*
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h
index dca0c88..c3fa802 100644
--- a/gtk/gtktextview.h
+++ b/gtk/gtktextview.h
@@ -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 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]