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-leaf.c | |
parent | 0a21ae9e0897278bf48b04dd3729059e14e3ca75 (diff) | |
download | gsoc2013-evolution-93d002705cf1acecd07d670072831310df10746c.tar.gz 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-leaf.c')
-rw-r--r-- | widgets/table/e-table-group-leaf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c index caa0125a78..a6f6eac15a 100644 --- a/widgets/table/e-table-group-leaf.c +++ b/widgets/table/e-table-group-leaf.c @@ -56,6 +56,8 @@ e_table_group_leaf_construct (GnomeCanvasGroup *parent, ETableSortInfo *sort_info) { etgl->subset = E_TABLE_SUBSET_VARIABLE(e_table_sorted_variable_new (model, full_header, sort_info)); + gtk_object_ref(GTK_OBJECT(etgl->subset)); + gtk_object_sink(GTK_OBJECT(etgl->subset)); e_table_group_construct (parent, E_TABLE_GROUP (etgl), full_header, header, model); } |