From f64e3ca963925988720189c5924c7cf0d7019cdb Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Thu, 19 Jun 2003 15:31:31 +0000 Subject: remove extra ref, the count starts at one. 2003-06-19 Larry Ewing * e-table-specification.c (e_table_specification_load_from_node): remove extra ref, the count starts at one. * e-table-utils.c (e_table_spec_to_full_header): add_column adds a reference, so drop the intial reference. * e-table.c (et_real_construct):remove extra ref, count starts at one. svn path=/trunk/; revision=21479 --- widgets/table/e-table-utils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'widgets/table/e-table-utils.c') diff --git a/widgets/table/e-table-utils.c b/widgets/table/e-table-utils.c index 76427ae464..eec4fc79d5 100644 --- a/widgets/table/e-table-utils.c +++ b/widgets/table/e-table-utils.c @@ -136,8 +136,10 @@ e_table_spec_to_full_header (ETableSpecification *spec, ETableCol *col = et_col_spec_to_col ( spec->columns[column], ete, spec->domain); - if (col) + if (col) { e_table_header_add_column (nh, col, -1); + g_object_unref (col); + } } return nh; -- cgit v1.2.3