Implement ibus_engine_forward_event_key function.
authorHuang Peng <shawn.p.huang@gmail.com>
Wed, 11 Mar 2009 07:51:34 +0000 (15:51 +0800)
committerHuang Peng <shawn.p.huang@gmail.com>
Wed, 11 Mar 2009 07:51:34 +0000 (15:51 +0800)
src/ibusengine.c
src/ibusengine.h

index d924e25..e664454 100644 (file)
@@ -942,13 +942,11 @@ void ibus_engine_hide_lookup_table (IBusEngine *engine)
 
 void ibus_engine_forward_key_event (IBusEngine      *engine,
                                     guint            keyval,
-                                    gboolean         is_press,
                                     guint            state)
 {
     _send_signal (engine,
-                  "HideLookupTable",
+                  "ForwardKeyEvent",
                   G_TYPE_UINT, &keyval,
-                  G_TYPE_BOOLEAN, &is_press,
                   G_TYPE_UINT, &state,
                   G_TYPE_INVALID);
 }
index 1a35c06..5a86bf0 100644 (file)
@@ -137,7 +137,6 @@ void         ibus_engine_hide_lookup_table
 void         ibus_engine_forward_key_event
                                         (IBusEngine         *engine,
                                          guint               keyval,
-                                         gboolean            is_press,
                                          guint               state);
 
 void         ibus_engine_register_properties