Does not increase references in ibus_keymap_get
authorPeng Huang <shawn.p.huang@gmail.com>
Tue, 2 Feb 2010 00:15:39 +0000 (08:15 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Tue, 2 Feb 2010 00:15:39 +0000 (08:15 +0800)
src/ibuskeymap.c

index b9fb72557a2c5613988a7ceab7af4f54a7a2ba66..b28b240782e637e8e64b0f723342791d9fbe366d 100644 (file)
@@ -251,7 +251,6 @@ ibus_keymap_get (const gchar *name)
 
     keymap = (IBusKeymap *) g_hash_table_lookup (keymaps, name);
     if (keymap != NULL) {
-        g_object_ref (keymap);
         return keymap;
     }