aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/message-list.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b2f2515736..48ecad7976 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -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.
diff --git a/mail/message-list.c b/mail/message-list.c
index c7190c71dd..09d268ec61 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -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
*/