static void ibus_im_client_init (IBusIMClient *client);
static void ibus_im_client_finalize (GObject *obj);
-static void _keymap_find_japan_group (IBusIMClient *client);
+static void _keymap_find_japan_groups (IBusIMClient *client);
static void _keymap_find_yen_bar_keys (IBusIMClient *client);
static void _keymap_keys_changed_cb (GdkKeymap *keymap,
IBusIMClient *client);
if ((priv->keymap = gdk_keymap_get_default ()) != NULL) {
g_object_ref (priv->keymap);
- _keymap_find_japan_group (client);
+ _keymap_find_japan_groups (client);
_keymap_find_yen_bar_keys (client);
- int i;
- for (i = 0; i < client->priv->japan_yen_bar_keys->len; i++) {
- GdkKeymapKey *key = &g_array_index (client->priv->japan_yen_bar_keys, GdkKeymapKey, i);
- }
-
priv->keymap_handler_id =
g_signal_connect (priv->keymap, "keys-changed",
G_CALLBACK (_keymap_keys_changed_cb), client);
}
static void
-_keymap_find_japan_group (IBusIMClient *client)
+_keymap_find_japan_groups (IBusIMClient *client)
{
#ifdef HAVE_XKB
static void
_keymap_keys_changed_cb (GdkKeymap *keymap, IBusIMClient *client)
{
- _keymap_find_japan_group (client);
+ _keymap_find_japan_groups (client);
_keymap_find_yen_bar_keys (client);
}