aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/share-folder-common.c
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2006-02-08 19:08:24 +0800
committerParthasarathi Susarla <saps@src.gnome.org>2006-02-08 19:08:24 +0800
commitc523e430278b5fe1f7136d6219913678f2f30c13 (patch)
treee14bc09377a76a29d2e54fdf1d514e8b24558d5f /plugins/groupwise-features/share-folder-common.c
parent8c60479e7c4346b64fa35fa30fa5cae1f535c187 (diff)
downloadgsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.gz
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.bz2
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.lz
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.xz
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.zst
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.zip
** See bug 326348 check if its a valid accoune before creating folder
2006-02-08 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug 326348 * share-folder-common.c:(refresh_folder_tree) check if its a valid accoune before creating folder svn path=/trunk/; revision=31445
Diffstat (limited to 'plugins/groupwise-features/share-folder-common.c')
-rw-r--r--plugins/groupwise-features/share-folder-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c
index ee006369e5..e4e32304e7 100644
--- a/plugins/groupwise-features/share-folder-common.c
+++ b/plugins/groupwise-features/share-folder-common.c
@@ -78,6 +78,10 @@ refresh_folder_tree (EMFolderTreeModel *model, CamelStore *store)
uri = camel_url_to_string (((CamelService *) store)->url, CAMEL_URL_HIDE_ALL);
account = mail_config_get_account_by_source_url (uri);
+ if (!account){
+ return;
+ }
+
uri = account->source->url;
em_folder_tree_model_remove_store (model, store);