Don't sink the extras since _set_folder can get called more than once (on
2001-08-21 Peter Williams <peterw@ximian.com> * message-list.c (message_list_set_folder): Don't sink the extras since _set_folder can get called more than once (on reconfigure.) (message_list_destroy): So just unref the extras here. svn path=/trunk/; revision=12345
This commit is contained in:
committed by
Peter Williams
parent
1b72d81e55
commit
1decfd89d3
@ -1,5 +1,9 @@
|
||||
2001-08-21 Peter Williams <peterw@ximian.com>
|
||||
|
||||
* message-list.c (message_list_set_folder): Don't sink the extras since
|
||||
_set_folder can get called more than once (on reconfigure.)
|
||||
(message_list_destroy): So just unref the extras here.
|
||||
|
||||
* mail-send-recv.c (build_dialogue): Treat the spool provider like IMAP:
|
||||
update instead of performing an explicit receive.
|
||||
|
||||
|
||||
@ -1131,6 +1131,7 @@ message_list_destroy (GtkObject *object)
|
||||
camel_object_unref (CAMEL_OBJECT (message_list->folder));
|
||||
}
|
||||
|
||||
gtk_object_unref (GTK_OBJECT (message_list->extras));
|
||||
gtk_object_unref (GTK_OBJECT (message_list->model));
|
||||
|
||||
if (message_list->idle_id != 0)
|
||||
@ -1948,9 +1949,6 @@ message_list_set_folder (MessageList *message_list, CamelFolder *camel_folder, g
|
||||
NULL);
|
||||
}
|
||||
|
||||
/* Now we're finally done with the extras */
|
||||
gtk_object_sink (GTK_OBJECT (message_list->extras));
|
||||
|
||||
/* Build the etree suitable for this folder */
|
||||
message_list_setup_etree (message_list, outgoing);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user