aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-08-11 03:10:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-08-11 03:10:06 +0800
commitd948e3cbe3d482669346bb60dbb4945223590f56 (patch)
tree2ca78cd320fdf8bf7a85ee19feb5df767726ff26 /mail
parentda5fe417a1eb4dceb6d3e31aaf8ed8526eecea6e (diff)
downloadgsoc2013-evolution-d948e3cbe3d482669346bb60dbb4945223590f56.tar.gz
gsoc2013-evolution-d948e3cbe3d482669346bb60dbb4945223590f56.tar.zst
gsoc2013-evolution-d948e3cbe3d482669346bb60dbb4945223590f56.zip
Return NULL not FALSE on error.
2004-08-06 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree-model.c (em_folder_tree_model_get_selected): Return NULL not FALSE on error. svn path=/trunk/; revision=26864
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-folder-tree-model.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index fdd1c82aae..0af9e9b195 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-06 Jeffrey Stedfast <fejj@novell.com>
+
+ * em-folder-tree-model.c (em_folder_tree_model_get_selected):
+ Return NULL not FALSE on error.
+
2004-06-08 Karsten Bräckelmann <guenther@rudersport.de>
* em-format-html-display.c (smime_encrypt_table[4]): minor typo,
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 1c94f2c8c3..ffbbe60b72 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -1112,7 +1112,7 @@ em_folder_tree_model_get_selected (EMFolderTreeModel *model)
node = model->state ? model->state->children : NULL;
if (!node || strcmp (node->name, "tree-state") != 0)
- return FALSE;
+ return NULL;
node = node->children;
while (node != NULL) {