[evolution] Remove unused e_table_column_specification_save_to_node().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove unused e_table_column_specification_save_to_node().
- Date: Wed, 26 Jun 2013 15:35:32 +0000 (UTC)
commit e19fb153b191cdcfb66ca86d028da63dc0aaad3e
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Jun 26 07:10:03 2013 -0400
Remove unused e_table_column_specification_save_to_node().
.../evolution-util/evolution-util-sections.txt | 1 -
e-util/e-table-column-specification.c | 30 --------------------
e-util/e-table-column-specification.h | 3 --
3 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt
b/doc/reference/evolution-util/evolution-util-sections.txt
index eea4c3b..d5e1f54 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -3398,7 +3398,6 @@ e_table_col_get_type
ETableColumnSpecification
e_table_column_specification_new
e_table_column_specification_load_from_node
-e_table_column_specification_save_to_node
<SUBSECTION Standard>
E_TABLE_COLUMN_SPECIFICATION
E_IS_TABLE_COLUMN_SPECIFICATION
diff --git a/e-util/e-table-column-specification.c b/e-util/e-table-column-specification.c
index 32c16a5..01ae1c1 100644
--- a/e-util/e-table-column-specification.c
+++ b/e-util/e-table-column-specification.c
@@ -126,33 +126,3 @@ e_table_column_specification_load_from_node (ETableColumnSpecification *etcs,
etcs->title = g_strdup ("");
}
-xmlNode *
-e_table_column_specification_save_to_node (ETableColumnSpecification *specification,
- xmlNode *parent)
-{
- xmlNode *node;
- if (parent)
- node = xmlNewChild (parent, NULL, (const guchar *)"ETableColumn", NULL);
- else
- node = xmlNewNode (NULL, (const guchar *)"ETableColumn");
-
- e_xml_set_integer_prop_by_name (node, (const guchar *)"model_col", specification->model_col);
- if (specification->compare_col != specification->model_col)
- e_xml_set_integer_prop_by_name (node, (const guchar *)"compare_col",
specification->compare_col);
- e_xml_set_string_prop_by_name (node, (const guchar *)"_title", specification->title);
- e_xml_set_string_prop_by_name (node, (const guchar *)"pixbuf", specification->pixbuf);
-
- e_xml_set_double_prop_by_name (node, (const guchar *)"expansion", specification->expansion);
- e_xml_set_integer_prop_by_name (node, (const guchar *)"minimum_width", specification->minimum_width);
- e_xml_set_bool_prop_by_name (node, (const guchar *)"resizable", specification->resizable);
- e_xml_set_bool_prop_by_name (node, (const guchar *)"disabled", specification->disabled);
-
- e_xml_set_string_prop_by_name (node, (const guchar *)"cell", specification->cell);
- e_xml_set_string_prop_by_name (node, (const guchar *)"compare", specification->compare);
- e_xml_set_string_prop_by_name (node, (const guchar *)"search", specification->search);
- if (specification->priority != 0)
- e_xml_set_integer_prop_by_name (node, (const guchar *)"priority", specification->priority);
-
- return node;
-}
-
diff --git a/e-util/e-table-column-specification.h b/e-util/e-table-column-specification.h
index ae1a00c..0d4775f 100644
--- a/e-util/e-table-column-specification.h
+++ b/e-util/e-table-column-specification.h
@@ -84,9 +84,6 @@ ETableColumnSpecification *
void e_table_column_specification_load_from_node
(ETableColumnSpecification *state,
const xmlNode *node);
-xmlNode * e_table_column_specification_save_to_node
- (ETableColumnSpecification *state,
- xmlNode *parent);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]