aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-02-17 10:16:11 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-17 10:16:11 +0800
commit78ec5fde6654a7118b0e7e6d203fcece872af28a (patch)
treeeb7f0134ee135a2fb3bfb7d079d4a9caf0b35ad1 /mail/em-folder-tree-model.c
parent3cc6e89e669f8d99c39de2e558e79ae69cf43dd9 (diff)
downloadgsoc2013-evolution-78ec5fde6654a7118b0e7e6d203fcece872af28a.tar
gsoc2013-evolution-78ec5fde6654a7118b0e7e6d203fcece872af28a.tar.gz
gsoc2013-evolution-78ec5fde6654a7118b0e7e6d203fcece872af28a.tar.bz2
gsoc2013-evolution-78ec5fde6654a7118b0e7e6d203fcece872af28a.tar.lz
gsoc2013-evolution-78ec5fde6654a7118b0e7e6d203fcece872af28a.tar.xz
gsoc2013-evolution-78ec5fde6654a7118b0e7e6d203fcece872af28a.tar.zst
gsoc2013-evolution-78ec5fde6654a7118b0e7e6d203fcece872af28a.zip
fix for the weird-arsed e-contact list api. and fix a small memleak.
2004-02-17 Not Zed <NotZed@Ximian.com> * importers/pine-importer.c (import_contact): fix for the weird-arsed e-contact list api. and fix a small memleak. svn path=/trunk/; revision=24753
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r--mail/em-folder-tree-model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 3bb2305b9b..3d3b0f09d3 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -409,7 +409,7 @@ em_folder_tree_model_set_folder_info (EMFolderTreeModel *model, GtkTreeIter *ite
GtkTreePath *path;
GtkTreeIter sub;
gboolean load;
-
+
load = fi->child == NULL && !(fi->flags & (CAMEL_FOLDER_NOCHILDREN | CAMEL_FOLDER_NOINFERIORS));
path = gtk_tree_model_get_path ((GtkTreeModel *) model, iter);
@@ -939,7 +939,7 @@ em_folder_tree_model_set_unread_count (EMFolderTreeModel *model, CamelStore *sto
g_return_if_fail (EM_IS_FOLDER_TREE_MODEL (model));
g_return_if_fail (CAMEL_IS_STORE (store));
g_return_if_fail (path != NULL);
-
+
if (unread < 0)
unread = 0;