aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-group-leaf.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-16 17:53:16 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-16 17:53:16 +0800
commit93d002705cf1acecd07d670072831310df10746c (patch)
treef109ee8698c9c0ca8dcaf0b2964f4dd462b3d3b9 /widgets/e-table/e-table-group-leaf.c
parent0a21ae9e0897278bf48b04dd3729059e14e3ca75 (diff)
downloadgsoc2013-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/e-table/e-table-group-leaf.c')
-rw-r--r--widgets/e-table/e-table-group-leaf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-group-leaf.c b/widgets/e-table/e-table-group-leaf.c
index caa0125a78..a6f6eac15a 100644
--- a/widgets/e-table/e-table-group-leaf.c
+++ b/widgets/e-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);
}