From b5998623067bf9ecea7558fb5168076bbf857fb1 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 3 Apr 2002 23:00:29 +0000 Subject: 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 --- shell/ChangeLog | 5 +++++ shell/e-storage.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index eecccbfd87..dded99cdf0 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2002-04-03 Dan Winship + + * e-storage.c (get_path_for_physical_uri_foreach): Deal with + folders with no physical_uri. + 2002-04-02 Christopher James Lahey * e-storage-set-view.c (e_storage_set_view_set_show_checkboxes): 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); -- cgit v1.2.3