aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-selection-dialog.c
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/e-shell-folder-selection-dialog.c
parent65922aa0c6ca9a463a2dd01e54292fbed1af5701 (diff)
downloadgsoc2013-evolution-59b13c97a6afadbe4336620deebd44abb9909590.tar
gsoc2013-evolution-59b13c97a6afadbe4336620deebd44abb9909590.tar.gz
gsoc2013-evolution-59b13c97a6afadbe4336620deebd44abb9909590.tar.bz2
gsoc2013-evolution-59b13c97a6afadbe4336620deebd44abb9909590.tar.lz
gsoc2013-evolution-59b13c97a6afadbe4336620deebd44abb9909590.tar.xz
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/e-shell-folder-selection-dialog.c')
-rw-r--r--shell/e-shell-folder-selection-dialog.c5
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);
}