Ref the table columns since we unref them at the end.

2000-03-03  Christopher James Lahey  <clahey@helixcode.com>

        * message-list.c: Ref the table columns since we unref them at the
        end.

svn path=/trunk/; revision=2023
This commit is contained in:
Christopher James Lahey
2000-03-03 19:59:00 +00:00
committed by Chris Lahey
parent c71ec9dab0
commit ece2d6be35
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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