diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-29 16:07:23 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-29 16:07:23 +0800 |
commit | 5054beec4501b7c1ac4758cfffa6c9278b6cab59 (patch) | |
tree | d0ba39250e57b7b2e705ea54e04018acbc534082 /shell/e-shell.c | |
parent | 8e598e640e9cbc8fe42d5d017b4557d656f24c5b (diff) | |
download | gsoc2013-evolution-5054beec4501b7c1ac4758cfffa6c9278b6cab59.tar.gz gsoc2013-evolution-5054beec4501b7c1ac4758cfffa6c9278b6cab59.tar.zst gsoc2013-evolution-5054beec4501b7c1ac4758cfffa6c9278b6cab59.zip |
Ref the shell. (destroy): Unref the shell. (destroy): Free the
* e-shell-view.c (e_shell_view_construct): Ref the shell.
(destroy): Unref the shell.
(destroy): Free the delayed_selection. No need to call
`cleanup_delayed_selection()' as the signal handler will have
already be disconnected at this point [as we are using
connect_while_alive()'].
svn path=/trunk/; revision=14325
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 83942aa4fc..5c054b9ead 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -914,8 +914,10 @@ destroy (GtkObject *object) g_free (priv->local_directory); - if (priv->storage_set != NULL) + if (priv->storage_set != NULL) { gtk_object_unref (GTK_OBJECT (priv->storage_set)); + priv->storage_set = NULL; + } if (priv->local_storage != NULL) gtk_object_unref (GTK_OBJECT (priv->local_storage)); |