From 08419b64ea02efb0eded06f20882859e9e3ae643 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 4 Mar 2000 17:46:05 +0000 Subject: Fixed a crash error. 2000-03-04 Christopher James Lahey * e-table.c: Fixed a crash error. svn path=/trunk/; revision=2040 --- widgets/e-table/ChangeLog | 4 ++++ widgets/e-table/e-table.c | 1 + widgets/table/e-table.c | 1 + 3 files changed, 6 insertions(+) (limited to 'widgets') diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog index dc43161c53..3c7b96f917 100644 --- a/widgets/e-table/ChangeLog +++ b/widgets/e-table/ChangeLog @@ -1,3 +1,7 @@ +2000-03-04 Christopher James Lahey + + * e-table.c: Fixed a crash error. + 2000-03-04 Christopher James Lahey * e-table-item.c: Fixed a compile warning. diff --git a/widgets/e-table/e-table.c b/widgets/e-table/e-table.c index 364ef3fb9c..841c52fb45 100644 --- a/widgets/e-table/e-table.c +++ b/widgets/e-table/e-table.c @@ -685,6 +685,7 @@ et_real_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm, e_table->model = etm; gtk_object_ref (GTK_OBJECT (etm)); + e_table->specification = xmlSpec; xmlRoot = xmlDocGetRootElement(xmlSpec); xmlColumns = e_xml_get_child_by_name(xmlRoot, "columns-shown"); xmlGrouping = e_xml_get_child_by_name(xmlRoot, "grouping"); diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 364ef3fb9c..841c52fb45 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -685,6 +685,7 @@ et_real_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm, e_table->model = etm; gtk_object_ref (GTK_OBJECT (etm)); + e_table->specification = xmlSpec; xmlRoot = xmlDocGetRootElement(xmlSpec); xmlColumns = e_xml_get_child_by_name(xmlRoot, "columns-shown"); xmlGrouping = e_xml_get_child_by_name(xmlRoot, "grouping"); -- cgit