[Tomoe-cvs 1740] CVS update: tomoe/module/dict

Back to archive index

Kouhei Sutou kous****@users*****
2006年 12月 7日 (木) 10:38:06 JST


Index: tomoe/module/dict/tomoe-dict-est.c
diff -u tomoe/module/dict/tomoe-dict-est.c:1.7 tomoe/module/dict/tomoe-dict-est.c:1.8
--- tomoe/module/dict/tomoe-dict-est.c:1.7	Wed Dec  6 20:26:16 2006
+++ tomoe/module/dict/tomoe-dict-est.c	Thu Dec  7 10:38:05 2006
@@ -17,7 +17,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-dict-est.c,v 1.7 2006/12/06 11:26:16 ikezoe Exp $
+ *  $Id: tomoe-dict-est.c,v 1.8 2006/12/07 01:38:05 kous Exp $
  */
 
 #include <stdio.h>
@@ -413,7 +413,7 @@
 
     chr = tomoe_char_new_from_xml_data (est_doc_hidden_texts (doc), -1);
     if (chr)
-        g_hash_table_insert (dict->cache, g_strdup (utf8), chr);
+        g_hash_table_insert (dict->cache, g_strdup (utf8), g_object_ref (chr));
 
     est_doc_delete (doc);
 


tomoe-cvs メーリングリストの案内
Back to archive index