--- gtk-im/gtkimcontextgcin.c-orig 2011-10-13 23:46:25.000000000 +0800
+++ gtk-im/gtkimcontextgcin.c 2011-10-14 00:23:33.000000000 +0800
@@ -142,7 +142,7 @@
return;
if (!context_xim->gcin_ch) {
- if (!(context_xim->gcin_ch = gcin_im_client_open(GDK_DISPLAY())))
+ if (!(context_xim->gcin_ch = gcin_im_client_open(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()))))
perror("cannot open gcin_ch");
#if 1
context_xim->timeout_handle = 0;
是否有必要?