aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-04-08 22:50:48 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-04-08 22:50:48 +0800
commit59b13c97a6afadbe4336620deebd44abb9909590 (patch)
tree5fbf3be395a87f65d948dba8859c442ff6d4e7e6 /shell
parent65922aa0c6ca9a463a2dd01e54292fbed1af5701 (diff)
downloadgsoc2013-evolution-59b13c97a6afadbe4336620deebd44abb9909590.tar.gz
gsoc2013-evolution-59b13c97a6afadbe4336620deebd44abb9909590.tar.zst
gsoc2013-evolution-59b13c97a6afadbe4336620deebd44abb9909590.zip
(impl_dispose): g_object_weak_unref() the shell here.
(impl_dispose): g_object_weak_unref() the shell here. svn path=/trunk/; revision=20751
Diffstat (limited to 'shell')
-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);
}