aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-selection-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-folder-selection-dialog.c')
-rw-r--r--shell/e-shell-folder-selection-dialog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c
index 1d77d6d109..f7f6f7a6ee 100644
--- a/shell/e-shell-folder-selection-dialog.c
+++ b/shell/e-shell-folder-selection-dialog.c
@@ -185,6 +185,7 @@ impl_dispose (GObject *object)
priv = folder_selection_dialog->priv;
if (priv->storage_set != NULL) {
+ save_expanded_state (folder_selection_dialog);
g_object_unref (priv->storage_set);
priv->storage_set = NULL;
}
@@ -201,8 +202,6 @@ impl_finalize (GObject *object)
folder_selection_dialog = E_SHELL_FOLDER_SELECTION_DIALOG (object);
priv = folder_selection_dialog->priv;
- save_expanded_state (folder_selection_dialog);
-
e_free_string_list (priv->allowed_types);
g_free (priv);