diff options
author | Dan Winship <danw@src.gnome.org> | 2002-04-04 07:00:29 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-04-04 07:00:29 +0800 |
commit | b5998623067bf9ecea7558fb5168076bbf857fb1 (patch) | |
tree | fd21006541bca470fcc73a12bb5d48ba95d67981 /shell | |
parent | 2e55f851fb04637dac674bd0d9deb2a071026ba5 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-storage.c | 2 |
2 files changed, 7 insertions, 0 deletions
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 <danw@ximian.com> + + * e-storage.c (get_path_for_physical_uri_foreach): Deal with + folders with no physical_uri. + 2002-04-02 Christopher James Lahey <clahey@ximian.com> * 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); |