[Tomoe-cvs 1171] CVS update: tomoe/lib

Zurück zum Archiv-Index

Kouhei Sutou kous****@users*****
2006年 11月 27日 (月) 16:52:04 JST


Index: tomoe/lib/tomoe-dict.c
diff -u tomoe/lib/tomoe-dict.c:1.109 tomoe/lib/tomoe-dict.c:1.110
--- tomoe/lib/tomoe-dict.c:1.109	Mon Nov 27 16:50:25 2006
+++ tomoe/lib/tomoe-dict.c	Mon Nov 27 16:52:03 2006
@@ -21,7 +21,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-dict.c,v 1.109 2006/11/27 07:50:25 makeinu Exp $
+ *  $Id: tomoe-dict.c,v 1.110 2006/11/27 07:52:03 kous Exp $
  */
 
 #include <stdio.h>
@@ -267,12 +267,6 @@
     return tomoe_dict_load_xml (dict);
 }
 
-void
-tomoe_dict_save (TomoeDict *dict)
-{
-    tomoe_dict_save_xml (dict);
-}
-
 const char*
 tomoe_dict_get_filename (TomoeDict* dict)
 {
Index: tomoe/lib/tomoe-shelf.c
diff -u tomoe/lib/tomoe-shelf.c:1.9 tomoe/lib/tomoe-shelf.c:1.10
--- tomoe/lib/tomoe-shelf.c:1.9	Mon Nov 27 16:49:18 2006
+++ tomoe/lib/tomoe-shelf.c	Mon Nov 27 16:52:03 2006
@@ -17,7 +17,7 @@
  *  Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  *  Boston, MA  02111-1307  USA
  *
- *  $Id: tomoe-shelf.c,v 1.9 2006/11/27 07:49:18 kous Exp $
+ *  $Id: tomoe-shelf.c,v 1.10 2006/11/27 07:52:03 kous Exp $
  */
 
 #include "tomoe-dict.h"
@@ -141,25 +141,6 @@
     return names;
 }
 
-static void
-tomoe_shelf_save_dict (gpointer key, gpointer value, gpointer user_data)
-{
-    TomoeDict *dict = value;
-    if (tomoe_dict_is_modified(dict))
-        tomoe_dict_save(dict);
-}
-
-static void
-tomoe_shelf_save (TomoeShelf *shelf)
-{
-    TomoeShelfPrivate *priv;
-
-    g_return_if_fail (shelf);
-    priv = TOMOE_SHELF_GET_PRIVATE (shelf);
-
-    g_hash_table_foreach(priv->dicts, tomoe_shelf_save_dict, NULL);
-}
-
 gboolean
 tomoe_shelf_has_dict (TomoeShelf *shelf, const gchar *name)
 {


tomoe-cvs メーリングリストの案内
Zurück zum Archiv-Index