aboutsummaryrefslogtreecommitdiff
path: root/libsylph
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-24 06:23:43 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-24 06:23:43 +0000
commitf41de13c3162472bba4fe9f3ac233f52f9827af1 (patch)
tree69f448bafc23b041a7f014bfb85e07fcc53b39d0 /libsylph
parent105eb9bfb18a3324ebbda41cf2bd8b0695748f91 (diff)
skip virtual folders when clearing caches.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@920 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph')
-rw-r--r--libsylph/procmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/procmsg.c b/libsylph/procmsg.c
index 77b881bc..26abee6a 100644
--- a/libsylph/procmsg.c
+++ b/libsylph/procmsg.c
@@ -1220,7 +1220,7 @@ static gboolean remove_all_cached_messages_func(GNode *node, gpointer data)
g_return_val_if_fail(node->data != NULL, FALSE);
item = FOLDER_ITEM(node->data);
- if (!item->path)
+ if (!item->path || item->stype == F_VIRTUAL)
return FALSE;
dir = folder_item_get_path(item);