From e7d6ad6d83acd3aba0dc11d4955339b20ccc8cf3 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Fri, 31 Aug 2007 05:24:51 +0000 Subject: ** Move away from g_assert to g_return* calls svn path=/trunk/; revision=34143 --- mail/em-folder-tree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mail/em-folder-tree.c') diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index c4e4d7ff04..05bdfbc904 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -2577,8 +2577,7 @@ em_folder_tree_get_model_storeinfo (EMFolderTree *emft, CamelStore *store) struct _EMFolderTreeModelStoreInfo *si; if (!(si = g_hash_table_lookup (priv->model->store_hash, store))) { - g_assert_not_reached (); - return NULL; + g_return_val_if_reached (NULL); } return si; } -- cgit