aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-folder-selection-dialog.c5
2 files changed, 12 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 3722620817..0c6292aea3 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2003-04-08 Ettore Perazzoli <ettore@ximian.com>
+
+ [#40912]
+
+ * e-shell-folder-selection-dialog.c (impl_dispose):
+ g_object_weak_unref() the shell here.
+
2003-04-07 Dan Winship <danw@ximian.com>
* evolution-storage.c (evolution_storage_class_init): Fix arg
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);
}