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

gcin patch for Gnome-Do

hilarycheng
1 gcin patch for Gnome-Do
Promote 0 Bookmark 02010-06-06quote  

小弟用 ArchLinux + Gnome-Do 經常掛掉, 心裏總是不爽, 

下載了 gcin 1.4.9 , 找了一下, 做了一個簡單 Patch, 好像現在不會掛掉了.


--- gcin-1.4.9/gtk-im/gtkimcontextgcin.c.old	2010-06-06 10:08:43.683564930 +0800+++ gcin-1.4.9/gtk-im/gtkimcontextgcin.c	2010-06-06 10:08:58.386924874 +0800@@ -433,7 +433,7 @@gboolean preedit_changed = FALSE;gboolean context_has_str = context_xim->pe_str && context_xim->pe_str[0];-  char *tstr;+  char *tstr = NULL;GCIN_PREEDIT_ATTR att[GCIN_PREEDIT_ATTR_MAX_N];int cursor_pos;

  看看大家能不能用...

eliu
2
Promote 0 Bookmark 02010-06-06quote  
guest
3
Promote 0 Bookmark 02010-06-07quote  
請問gnome-do能用使用gcin了嗎?謝謝

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