diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-03-21 10:54:37 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-03-21 10:54:37 +0800 |
commit | 5bc23d188a2071bf12e8e7a31af070db05d1bc7f (patch) | |
tree | d347fdaee6e1f9fd07c3428e6febe52ef456feab | |
parent | f60b9107e9d0a10bc54307c279f789c26a794736 (diff) | |
download | gsoc2013-evolution-5bc23d188a2071bf12e8e7a31af070db05d1bc7f.tar.gz gsoc2013-evolution-5bc23d188a2071bf12e8e7a31af070db05d1bc7f.tar.zst gsoc2013-evolution-5bc23d188a2071bf12e8e7a31af070db05d1bc7f.zip |
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
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/message-list.c | 5 |
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 */ |