aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
author3 <NotZed@Ximian.com>2001-10-04 07:57:41 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-04 07:57:41 +0800
commitfc2062d77e868f0e9ebd6aa8ce7ca9f81c583bd7 (patch)
tree97cc632bca6d4164ffee7871eccea08f3eaf0e29 /camel/providers
parenta39364e258908a69c25dc890788203b2663263f6 (diff)
downloadgsoc2013-evolution-fc2062d77e868f0e9ebd6aa8ce7ca9f81c583bd7.tar
gsoc2013-evolution-fc2062d77e868f0e9ebd6aa8ce7ca9f81c583bd7.tar.gz
gsoc2013-evolution-fc2062d77e868f0e9ebd6aa8ce7ca9f81c583bd7.tar.bz2
gsoc2013-evolution-fc2062d77e868f0e9ebd6aa8ce7ca9f81c583bd7.tar.lz
gsoc2013-evolution-fc2062d77e868f0e9ebd6aa8ce7ca9f81c583bd7.tar.xz
gsoc2013-evolution-fc2062d77e868f0e9ebd6aa8ce7ca9f81c583bd7.tar.zst
gsoc2013-evolution-fc2062d77e868f0e9ebd6aa8ce7ca9f81c583bd7.zip
Remove now unused 'recents' array/freeing func.
2001-10-03 <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (camel_imap_folder_changed): Remove now unused 'recents' array/freeing func. * camel-object.c (camel_object_trigger_event): Oops, always run the prep function, even if we have no hooks listening. Causes incoming imap recents to get ignored bythe camel-folder filter inbox code. svn path=/trunk/; revision=13398
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-folder.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 6b4b65c4b7..902c52c3d9 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1804,7 +1804,6 @@ camel_imap_folder_changed (CamelFolder *folder, int exists,
CamelImapFolder *imap_folder = CAMEL_IMAP_FOLDER (folder);
CamelFolderChangeInfo *changes;
CamelMessageInfo *info;
- GPtrArray *recents = NULL;
int len;
CAMEL_IMAP_STORE_ASSERT_LOCKED (folder->parent_store, command_lock);
@@ -1839,10 +1838,6 @@ camel_imap_folder_changed (CamelFolder *folder, int exists,
camel_object_trigger_event (CAMEL_OBJECT (folder), "folder_changed", changes);
camel_folder_change_info_free (changes);
-
- if (recents)
- g_ptr_array_free (recents, TRUE);
-
camel_folder_summary_save (folder->summary);
}