aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-04 07:00:29 +0800
committerDan Winship <danw@src.gnome.org>2002-04-04 07:00:29 +0800
commitb5998623067bf9ecea7558fb5168076bbf857fb1 (patch)
treefd21006541bca470fcc73a12bb5d48ba95d67981 /shell/e-storage.c
parent2e55f851fb04637dac674bd0d9deb2a071026ba5 (diff)
downloadgsoc2013-evolution-b5998623067bf9ecea7558fb5168076bbf857fb1.tar.gz
gsoc2013-evolution-b5998623067bf9ecea7558fb5168076bbf857fb1.tar.zst
gsoc2013-evolution-b5998623067bf9ecea7558fb5168076bbf857fb1.zip
Deal with folders with no physical_uri.
* e-storage.c (get_path_for_physical_uri_foreach): Deal with folders with no physical_uri. svn path=/trunk/; revision=16335
Diffstat (limited to 'shell/e-storage.c')
-rw-r--r--shell/e-storage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-storage.c b/shell/e-storage.c
index 7dbe977352..4f7fc7d134 100644
--- a/shell/e-storage.c
+++ b/shell/e-storage.c
@@ -544,6 +544,8 @@ get_path_for_physical_uri_foreach (EFolderTree *folder_tree,
return;
physical_uri = e_folder_get_physical_uri (e_folder);
+ if (physical_uri == NULL)
+ return;
if (strcmp (foreach_data->physical_uri, physical_uri) == 0)
foreach_data->retval = g_strdup (path);