diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-14 00:30:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-14 00:30:07 +0800 |
commit | 49ba34088bcdb9ab9cfae0c2b7fe11452fb60e24 (patch) | |
tree | ced4dd4c45416dcf15cf33b85c6b5103f5a5388a /mail/e-mail-shell-sidebar.c | |
parent | be8ee5393471a83b24aed4de1669afd723cb3168 (diff) | |
download | gsoc2013-evolution-49ba34088bcdb9ab9cfae0c2b7fe11452fb60e24.tar.gz gsoc2013-evolution-49ba34088bcdb9ab9cfae0c2b7fe11452fb60e24.tar.zst gsoc2013-evolution-49ba34088bcdb9ab9cfae0c2b7fe11452fb60e24.zip |
Clean up EMFolderTreeModel.
Diffstat (limited to 'mail/e-mail-shell-sidebar.c')
-rw-r--r-- | mail/e-mail-shell-sidebar.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/e-mail-shell-sidebar.c b/mail/e-mail-shell-sidebar.c index 10f0062f26..7d2ef3475a 100644 --- a/mail/e-mail-shell-sidebar.c +++ b/mail/e-mail-shell-sidebar.c @@ -57,7 +57,6 @@ mail_shell_sidebar_restore_state (EMailShellSidebar *mail_shell_sidebar) GtkTreeModel *tree_model; GtkTreeView *tree_view; GtkTreeIter iter; - GHashTable *hash_table; GKeyFile *key_file; gboolean valid; gchar *selected; @@ -70,7 +69,6 @@ mail_shell_sidebar_restore_state (EMailShellSidebar *mail_shell_sidebar) folder_tree = e_mail_shell_sidebar_get_folder_tree (mail_shell_sidebar); folder_tree_model = em_folder_tree_get_model (folder_tree); - hash_table = folder_tree_model->uri_hash; tree_view = GTK_TREE_VIEW (folder_tree); tree_model = GTK_TREE_MODEL (folder_tree_model); @@ -128,7 +126,8 @@ mail_shell_sidebar_restore_state (EMailShellSidebar *mail_shell_sidebar) if (!expanded) continue; - reference = g_hash_table_lookup (hash_table, uri); + reference = em_folder_tree_model_lookup_uri ( + folder_tree_model, uri); if (reference == NULL) continue; |