remove unused function
authorColin Leroy <colin@colino.net>
Mon, 12 Jul 2004 09:38:35 +0000 (09:38 +0000)
committerColin Leroy <colin@colino.net>
Mon, 12 Jul 2004 09:38:35 +0000 (09:38 +0000)
ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/folder.c
src/folder.h

index 165e977330df9fe0d95bc82a569fb6d5aec71126..9b49d127215f4b15e047d33edc209a2e45fcaa19 100644 (file)
@@ -1,3 +1,9 @@
+2004-07-12 [colin]     0.9.11cvs17.25
+
+       * src/folder.c
+       * src/folder.h
+               Remove unused function added by me in 0.9.11cvs17.10
+
 2004-07-11 [colin]     0.9.11cvs17.24
 
        * src/inc.c
index 085caa45748dbfde89f3b0c8a4faff4457a25d63..f36f6831cfbfa0f50d0c04ad1018a44798b3fac0 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
@@ -18,3 +18,4 @@
 ( cvs diff -u -r 1.149.2.8 -r 1.149.2.9 src/inc.c; cvs diff -u -r 1.94.2.16 -r 1.94.2.17 src/messageview.c; cvs diff -u -r 1.5.2.4 -r 1.5.2.5 src/noticeview.c; ) > 0.9.11cvs17.22.patchset
 ( cvs diff -u -r 1.149.2.9 -r 1.149.2.10 src/inc.c; cvs diff -u -r 1.56.2.10 -r 1.56.2.11 src/pop.c; cvs diff -u -r 1.17.2.7 -r 1.17.2.8 src/pop.h; ) > 0.9.11cvs17.23.patchset
 ( cvs diff -u -r 1.149.2.10 -r 1.149.2.11 src/inc.c; cvs diff -u -r 1.94.2.17 -r 1.94.2.18 src/messageview.c; cvs diff -u -r 1.56.2.11 -r 1.56.2.12 src/pop.c; cvs diff -u -r 1.17.2.8 -r 1.17.2.9 src/pop.h; ) > 0.9.11cvs17.24.patchset
+( cvs diff -u -r 1.213.2.6 -r 1.213.2.7 src/folder.c; cvs diff -u -r 1.87.2.6 -r 1.87.2.7 src/folder.h; ) > 0.9.11cvs17.25.patchset
index 8ba706279c81b055bfc19d35bbf24e2e2b6d2922..7fdb13e8062c0b233e57965f306d7df2e45fb8e6 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=17
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.24
+EXTRA_GTK2_VERSION=.25
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}
index b12cb7b9f1e722321e89d7e1063890db50ac8277..94f0d1fa3daf2414ebf41b18e1a36c29d5fde3ae 100644 (file)
@@ -1055,41 +1055,6 @@ FolderItem *folder_find_item_from_path(const gchar *path)
        return d[1];
 }
 
-static gboolean folder_item_find_phys_func(GNode *node, gpointer data)
-{
-       FolderItem *item = node->data;
-       gpointer *d = data;
-       const gchar *path = d[0];
-       const gchar *physpath = g_strdup_printf("%s%s%s%s%s", 
-                                       get_home_dir(), G_DIR_SEPARATOR_S,
-                                       LOCAL_FOLDER(item->folder)->rootpath,
-                                       G_DIR_SEPARATOR_S, item->path);
-
-       if (path_cmp(path, physpath) != 0) {
-               g_free(physpath);
-               return FALSE;
-       } 
-       g_free(physpath);
-       d[1] = item;
-
-       return TRUE;
-}
-
-FolderItem *folder_find_item_from_phys_path(const gchar *path)
-{
-       Folder *folder;
-       gpointer d[2];
-
-       folder = folder_get_default_folder();
-       g_return_val_if_fail(folder != NULL, NULL);
-
-       d[0] = (gpointer)path;
-       d[1] = NULL;
-       g_node_traverse(folder->node, G_PRE_ORDER, G_TRAVERSE_ALL, -1,
-                       folder_item_find_phys_func, d);
-       return d[1];
-}
-
 FolderItem *folder_find_child_item_by_name(FolderItem *item, const gchar *name)
 {
        GNode *node;
index 49d33f23842168d21a05b7b5d1e7301b7e92f612..64649e4898890ba0bc8be2418c62b3d81db8ad1a 100644 (file)
@@ -698,7 +698,6 @@ Folder     *folder_find_from_path           (const gchar    *path);
 Folder     *folder_find_from_name              (const gchar    *name,
                                                 FolderClass    *klass);
 FolderItem *folder_find_item_from_path         (const gchar    *path);
-FolderItem *folder_find_item_from_phys_path    (const gchar    *path);
 FolderClass *folder_get_class_from_string      (const gchar    *str);
 FolderItem *folder_find_child_item_by_name     (FolderItem     *item,
                                                 const gchar    *name);