aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-23 00:24:23 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-23 00:24:23 +0800
commitcf93af47a5508c1dcb398edb17c9ff775d0c2a9a (patch)
tree0c33864dfbc7c19a15634cdfec4439689a0551a5 /widgets/table/e-table-item.c
parentd8962e358761b10f60aea0afebeebd008b3c6104 (diff)
downloadgsoc2013-evolution-cf93af47a5508c1dcb398edb17c9ff775d0c2a9a.tar.gz
gsoc2013-evolution-cf93af47a5508c1dcb398edb17c9ff775d0c2a9a.tar.zst
gsoc2013-evolution-cf93af47a5508c1dcb398edb17c9ff775d0c2a9a.zip
Remove use of the "x" and "y" arguments to EText.
2000-06-22 Christopher James Lahey <clahey@helixcode.com> * e-table-group-container.c: Remove use of the "x" and "y" arguments to EText. * e-table-item.c: Properly ref the source_model field. * test-check.c, test-cols.c, test-table.c: Remove use of the "x" and "y" arguments to ETableHeaderItem. svn path=/trunk/; revision=3690
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index 3f60485cbe..3632e9fe68 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -696,6 +696,8 @@ eti_add_table_model (ETableItem *eti, ETableModel *table_model)
if (E_IS_TABLE_SUBSET(table_model)) {
eti->uses_source_model = 1;
eti->source_model = E_TABLE_SUBSET(table_model)->source;
+ if (eti->source_model)
+ gtk_object_ref(eti->source_model);
}
eti_table_model_changed (table_model, eti);