diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-05-16 17:53:16 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-05-16 17:53:16 +0800 |
commit | 93d002705cf1acecd07d670072831310df10746c (patch) | |
tree | f109ee8698c9c0ca8dcaf0b2964f4dd462b3d3b9 /widgets/table/e-table-group-container.c | |
parent | 0a21ae9e0897278bf48b04dd3729059e14e3ca75 (diff) | |
download | gsoc2013-evolution-93d002705cf1acecd07d670072831310df10746c.tar gsoc2013-evolution-93d002705cf1acecd07d670072831310df10746c.tar.gz gsoc2013-evolution-93d002705cf1acecd07d670072831310df10746c.tar.bz2 gsoc2013-evolution-93d002705cf1acecd07d670072831310df10746c.tar.lz gsoc2013-evolution-93d002705cf1acecd07d670072831310df10746c.tar.xz gsoc2013-evolution-93d002705cf1acecd07d670072831310df10746c.tar.zst gsoc2013-evolution-93d002705cf1acecd07d670072831310df10746c.zip |
Removed a memory leak here.
2000-05-16 Christopher James Lahey <clahey@helixcode.com>
* e-table-group-container.c: Removed a memory leak here.
* e-table-group-leaf.c: Added a ref/sink pair.
* e-table-group.c, e-table-header-item.c: Removed some unused
code.
svn path=/trunk/; revision=3079
Diffstat (limited to 'widgets/table/e-table-group-container.c')
-rw-r--r-- | widgets/table/e-table-group-container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-group-container.c b/widgets/table/e-table-group-container.c index 4c5dfa38a6..e7771f86de 100644 --- a/widgets/table/e-table-group-container.c +++ b/widgets/table/e-table-group-container.c @@ -105,9 +105,9 @@ e_table_group_container_construct (GnomeCanvasGroup *parent, ETableGroupContaine ETableSortColumn column = e_table_sort_info_grouping_get_nth(sort_info, n); if (column.column > e_table_header_count (full_header)) - col = e_table_header_get_columns (full_header)[e_table_header_count (full_header) - 1]; + col = e_table_header_get_column (full_header, e_table_header_count (full_header) - 1); else - col = e_table_header_get_columns (full_header)[column.column]; + col = e_table_header_get_column (full_header, column.column); e_table_group_construct (parent, E_TABLE_GROUP (etgc), full_header, header, model); etgc->ecol = col; |