diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-06-18 13:17:37 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-06-18 13:17:37 +0800 |
commit | b977b54e2febcb4cb767dcf5e26a273f86e7b5db (patch) | |
tree | ddaf94561e45490bbab666ccc17ce8c664072287 /mail/em-folder-tree-model.c | |
parent | dffd9d69efa547950e32ae3bfb291e0c527bf580 (diff) | |
download | gsoc2013-evolution-b977b54e2febcb4cb767dcf5e26a273f86e7b5db.tar.gz gsoc2013-evolution-b977b54e2febcb4cb767dcf5e26a273f86e7b5db.tar.zst gsoc2013-evolution-b977b54e2febcb4cb767dcf5e26a273f86e7b5db.zip |
** Fix for bug #437935 from Gilles Dartiguelongue
svn path=/trunk/; revision=33698
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r-- | mail/em-folder-tree-model.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index 5e4a5b2b02..72d86beac2 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -1117,26 +1117,26 @@ em_folder_tree_model_is_type_inbox (EMFolderTreeModel *model, CamelStore *store, GtkTreeIter iter; guint32 flags; - g_return_if_fail (EM_IS_FOLDER_TREE_MODEL (model)); - g_return_if_fail (CAMEL_IS_STORE (store)); - g_return_if_fail (full != NULL); + g_return_val_if_fail (EM_IS_FOLDER_TREE_MODEL (model), FALSE); + g_return_val_if_fail (CAMEL_IS_STORE (store), FALSE); + g_return_val_if_fail (full != NULL, FALSE); u(printf("Checking if the folder is an INBOX type %p '%s' %d\n", store, full, unread)); if (!(si = g_hash_table_lookup (model->store_hash, store))) { u(printf(" can't find store\n")); - return; + return FALSE; } if (!(row = g_hash_table_lookup (si->full_hash, full))) { u(printf(" can't find row\n")); - return; + return FALSE; } tree_path = gtk_tree_row_reference_get_path (row); if (!gtk_tree_model_get_iter ((GtkTreeModel *) model, &iter, tree_path)) { gtk_tree_path_free (tree_path); - return; + return FALSE; } gtk_tree_path_free (tree_path); |