From 5bc23d188a2071bf12e8e7a31af070db05d1bc7f Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 21 Mar 2000 02:54:37 +0000 Subject: Properly ref & sink the table and header models. 2000-03-20 Christopher James Lahey * message-list.c: Properly ref & sink the table and header models. svn path=/trunk/; revision=2126 --- mail/ChangeLog | 4 ++++ mail/message-list.c | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'mail') 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 + + * message-list.c: Properly ref & sink the table and header models. + 2000-03-14 Dan Winship * 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 */ -- cgit