Fix cursor location problem.
authorPeng Huang <shawn.p.huang@gmail.com>
Mon, 15 Feb 2010 11:36:57 +0000 (19:36 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Sat, 20 Feb 2010 02:43:14 +0000 (10:43 +0800)
client/gtk2/ibusimcontext.c

index 8ac2fb8f002ccd6980eb6b0a2b376545ee9de1da..f38597e1e4ea33894afe01628924e4ceb0ba8770 100644 (file)
@@ -939,7 +939,7 @@ _create_input_context (IBusIMContext *ibusimcontext)
     ibus_input_context_set_capabilities (ibusimcontext->ibuscontext, ibusimcontext->caps);
 
     if (ibusimcontext->has_focus) {
-        ibus_input_context_focus_in (ibusimcontext->ibuscontext);
+        gtk_im_context_focus_in (GTK_IM_CONTEXT (ibusimcontext));
     }
 }