diff options
author | Chris Toshok <toshok@helixcode.com> | 2000-10-03 13:06:11 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-10-03 13:06:11 +0800 |
commit | d697b27b4d9b396d3e27621ba0220564d6d3d013 (patch) | |
tree | 75fea62298c87482cce904fe93c89d6f7e4fb215 /mail/subscribe-dialog.c | |
parent | 1c1638efa621c06cfc0ba0d592a4dfe555fc7eb1 (diff) | |
download | gsoc2013-evolution-d697b27b4d9b396d3e27621ba0220564d6d3d013.tar.gz gsoc2013-evolution-d697b27b4d9b396d3e27621ba0220564d6d3d013.tar.zst gsoc2013-evolution-d697b27b4d9b396d3e27621ba0220564d6d3d013.zip |
destroy our tree_model and remove the root node. also, release_unref our
2000-10-02 Chris Toshok <toshok@helixcode.com>
* subscribe-dialog.c (subscribe_dialog_destroy): destroy our
tree_model and remove the root node. also, release_unref our
control and view, and unref the listener.
* mail-tools.c (mail_tool_uri_to_folder): news url's contain host
names too, now.
svn path=/trunk/; revision=5690
Diffstat (limited to 'mail/subscribe-dialog.c')
-rw-r--r-- | mail/subscribe-dialog.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mail/subscribe-dialog.c b/mail/subscribe-dialog.c index 496a9f4c1d..ef1daa72f6 100644 --- a/mail/subscribe-dialog.c +++ b/mail/subscribe-dialog.c @@ -581,9 +581,17 @@ subscribe_dialog_gui_init (SubscribeDialog *sc) static void subscribe_dialog_destroy (GtkObject *object) { - SubscribeDialog *subscribe_dialog; + SubscribeDialog *sc; + + sc = SUBSCRIBE_DIALOG (object); + + gtk_object_unref (GTK_OBJECT (sc->listener)); + + bonobo_object_release_unref (sc->storage_set_control, NULL); + bonobo_object_release_unref (sc->storage_set_view, NULL); - subscribe_dialog = SUBSCRIBE_DIALOG (object); + e_tree_model_node_remove (sc->model, sc->root); + gtk_object_unref (GTK_OBJECT (sc->model)); subscribe_dialog_parent_class->destroy (object); } |