diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/message-list.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index bf1987d547..867cabb05e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-03-03 Christopher James Lahey <clahey@helixcode.com> + + * message-list.c: Ref the table columns since we unref them at the + end. + 2000-03-01 Ettore Perazzoli <ettore@helixcode.com> * Makefile.am (INCLUDES): Add `$(top_srcdir)'. Also, the diff --git a/mail/message-list.c b/mail/message-list.c index 6983b4ac78..3f334b02df 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -241,9 +241,11 @@ message_list_init_header (MessageList *message_list) * they are defined. In the future e-table widget will take care * of this. */ - for (i = 0; i < COL_LAST; i++) + for (i = 0; i < COL_LAST; i++) { + gtk_object_ref(GTK_OBJECT(message_list->table_cols [i])); e_table_header_add_column (message_list->header_model, message_list->table_cols [i], i); + } } static void |