diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-01-24 06:23:43 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-01-24 06:23:43 +0000 |
commit | f41de13c3162472bba4fe9f3ac233f52f9827af1 (patch) | |
tree | 69f448bafc23b041a7f014bfb85e07fcc53b39d0 /libsylph/procmsg.c | |
parent | 105eb9bfb18a3324ebbda41cf2bd8b0695748f91 (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/procmsg.c')
-rw-r--r-- | libsylph/procmsg.c | 2 |
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); |