diff options
author | Jeff Cai <jeff.cai@sun.com> | 2006-04-10 16:53:15 +0800 |
---|---|---|
committer | Simon Zheng <simonz@src.gnome.org> | 2006-04-10 16:53:15 +0800 |
commit | 78a7684cdb308177314c53d504a52decc12feb57 (patch) | |
tree | 5e478657388146b3409b97cdd109f3df3cec1425 /mail | |
parent | a7373b94386efc63050f6194e72a80e622b3938c (diff) | |
download | gsoc2013-evolution-78a7684cdb308177314c53d504a52decc12feb57.tar.gz gsoc2013-evolution-78a7684cdb308177314c53d504a52decc12feb57.tar.zst gsoc2013-evolution-78a7684cdb308177314c53d504a52decc12feb57.zip |
** Fixes 333243 For null uri, don't need remove it.
2006-04-10 Jeff Cai <jeff.cai@sun.com>
** Fixes 333243
* em-folder-tree-model.c: (em_folder_tree_model_remove_folders):
For null uri, don't need remove it.
svn path=/trunk/; revision=31795
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/em-folder-tree-model.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 3fa1c75c27..b314722d20 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2006-04-10 Jeff Cai <jeff.cai@sun.com> + + ** Fixes 333243 + * em-folder-tree-model.c: (em_folder_tree_model_remove_folders): + For null uri, don't need remove it. + 2006-04-05 Jeff Cai <jeff.cai@sun.com> Fixes bug #333987 diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index 219ba75225..ec4069a6d0 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -898,7 +898,8 @@ em_folder_tree_model_remove_folders (EMFolderTreeModel *model, struct _EMFolderT gtk_tree_row_reference_free (row); } - em_folder_tree_model_remove_uri (model, uri); + if (uri) + em_folder_tree_model_remove_uri (model, uri); gtk_tree_store_remove ((GtkTreeStore *) model, toplevel); |