Fixed a crash error.

2000-03-04  Christopher James Lahey  <clahey@helixcode.com>

        * e-table.c: Fixed a crash error.

svn path=/trunk/; revision=2040
This commit is contained in:
Christopher James Lahey
2000-03-04 17:46:05 +00:00
committed by Chris Lahey
parent 23c59b7ee0
commit 08419b64ea
3 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-03-04 Christopher James Lahey <clahey@helixcode.com>
* e-table.c: Fixed a crash error.
2000-03-04 Christopher James Lahey <clahey@helixcode.com>
* e-table-item.c: Fixed a compile warning.

View File

@ -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");

View File

@ -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");