diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-03-04 03:59:00 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-03-04 03:59:00 +0800 |
commit | ece2d6be35fb3e16f39b00fe0f323acca81fb997 (patch) | |
tree | ac4492b1fbfd9da81623945fc8de0700e98892be | |
parent | c71ec9dab0ae22e0985ea12f4e1aeb0cc5811733 (diff) | |
download | gsoc2013-evolution-ece2d6be35fb3e16f39b00fe0f323acca81fb997.tar gsoc2013-evolution-ece2d6be35fb3e16f39b00fe0f323acca81fb997.tar.gz gsoc2013-evolution-ece2d6be35fb3e16f39b00fe0f323acca81fb997.tar.bz2 gsoc2013-evolution-ece2d6be35fb3e16f39b00fe0f323acca81fb997.tar.lz gsoc2013-evolution-ece2d6be35fb3e16f39b00fe0f323acca81fb997.tar.xz gsoc2013-evolution-ece2d6be35fb3e16f39b00fe0f323acca81fb997.tar.zst gsoc2013-evolution-ece2d6be35fb3e16f39b00fe0f323acca81fb997.zip |
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
-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 |