diff options
Diffstat (limited to 'shell/e-shell-folder-selection-dialog.c')
-rw-r--r-- | shell/e-shell-folder-selection-dialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/e-shell-folder-selection-dialog.c b/shell/e-shell-folder-selection-dialog.c index 962d145ca3..b378b44ec7 100644 --- a/shell/e-shell-folder-selection-dialog.c +++ b/shell/e-shell-folder-selection-dialog.c @@ -194,6 +194,11 @@ impl_dispose (GObject *object) priv->storage_set = NULL; } + if (priv->shell != NULL) { + g_object_weak_unref (G_OBJECT (priv->shell), (GWeakNotify) gtk_widget_destroy, folder_selection_dialog); + priv->shell = NULL; + } + (* G_OBJECT_CLASS (parent_class)->dispose) (object); } |