cht電腦資訊gcin已解決問題
adm Find login register

請問這個 patch

swyear
1 請問這個 patch
Promote 0 Bookmark 02012-02-05quote  

--- 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;

是否有必要?

eliu
2
Promote 0 Bookmark 02012-02-08quote  
edited: 1

cht電腦資訊gcin已解決問題
adm Find login register
views:5547