aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {