[uim-commit] r518 - trunk/gtk

tkng at freedesktop.org tkng at freedesktop.org
Fri Feb 4 02:37:59 PST 2005


Author: tkng
Date: 2005-02-04 02:37:55 -0800 (Fri, 04 Feb 2005)
New Revision: 518

Modified:
   trunk/gtk/gtk-im-uim.c
Log:
* gtk/gtk-im-uim.c:
 -(filter_keypress): focused_context shouldn't be used in this function.


Modified: trunk/gtk/gtk-im-uim.c
===================================================================
--- trunk/gtk/gtk-im-uim.c	2005-02-04 10:35:30 UTC (rev 517)
+++ trunk/gtk/gtk-im-uim.c	2005-02-04 10:37:55 UTC (rev 518)
@@ -287,9 +287,9 @@
     int mod = convert_modifier(key->state);
 
     if (key->type == GDK_KEY_RELEASE) {
-      rv = uim_release_key(focused_context->uc, kv, mod);
+      rv = uim_release_key(uic->uc, kv, mod);
     } else {
-      rv = uim_press_key(focused_context->uc, kv, mod);
+      rv = uim_press_key(uic->uc, kv, mod);
     }
     if (rv) {
       return gtk_im_context_filter_keypress(uic->slave, key);



More information about the Uim-commit mailing list