Properly ref & sink the table and header models.
2000-03-20 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Properly ref & sink the table and header models. svn path=/trunk/; revision=2126
This commit is contained in:
committed by
Chris Lahey
parent
f60b9107e9
commit
5bc23d188a
@@ -1,3 +1,7 @@
|
||||
2000-03-20 Christopher James Lahey <clahey@helixcode.com>
|
||||
|
||||
* message-list.c: Properly ref & sink the table and header models.
|
||||
|
||||
2000-03-14 Dan Winship <danw@helixcode.com>
|
||||
|
||||
* mail-sources.c: First cut at a mail source selection wizard.
|
||||
|
||||
@@ -320,6 +320,8 @@ message_list_init_header (MessageList *message_list)
|
||||
*/
|
||||
|
||||
message_list->header_model = e_table_header_new ();
|
||||
gtk_object_ref(GTK_OBJECT(message_list->header_model));
|
||||
gtk_object_sink(GTK_OBJECT(message_list->header_model));
|
||||
|
||||
message_list->table_cols [COL_ONLINE_STATUS] =
|
||||
e_table_col_new (COL_ONLINE_STATUS, _("Online status"),
|
||||
@@ -424,6 +426,9 @@ message_list_init (GtkObject *object)
|
||||
|
||||
gtk_widget_show(message_list->etable);
|
||||
|
||||
gtk_object_ref(message_list->table_model);
|
||||
gtk_object_sink(message_list->table_model);
|
||||
|
||||
/*
|
||||
* We do own the Etable, not some widget container
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user