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

gcin patch for Gnome-Do

hilarycheng
joined: 2010-06-06
posted: 1
promoted:
bookmarked:
Hong Kong
1subject: gcin patch for Gnome-DoPromote 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

joined: 2007-08-09
posted: 11482
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: Promote 0 Bookmark 02010-06-06quote  
收到,thanks
guest
3subject: Promote 0 Bookmark 02010-06-07quote  
請問gnome-do能用使用gcin了嗎?謝謝

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