aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-01 01:18:20 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-02 22:34:10 +0800
commit30d15fc59cae5a45b0a0b7e2f674e92a1e229d67 (patch)
tree09fa10ebb25c7c01d7fd8eece2b1be43dd89a97f /e-util
parentc1e8c1869d42b766663be94041b40839a9c4a53f (diff)
downloadgsoc2013-evolution-30d15fc59cae5a45b0a0b7e2f674e92a1e229d67.tar
gsoc2013-evolution-30d15fc59cae5a45b0a0b7e2f674e92a1e229d67.tar.gz
gsoc2013-evolution-30d15fc59cae5a45b0a0b7e2f674e92a1e229d67.tar.bz2
gsoc2013-evolution-30d15fc59cae5a45b0a0b7e2f674e92a1e229d67.tar.lz
gsoc2013-evolution-30d15fc59cae5a45b0a0b7e2f674e92a1e229d67.tar.xz
gsoc2013-evolution-30d15fc59cae5a45b0a0b7e2f674e92a1e229d67.tar.zst
gsoc2013-evolution-30d15fc59cae5a45b0a0b7e2f674e92a1e229d67.zip
Remove e_table_column_specification_load_from_node().
No longer used.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-table-column-specification.c31
-rw-r--r--e-util/e-table-column-specification.h4
2 files changed, 0 insertions, 35 deletions
diff --git a/e-util/e-table-column-specification.c b/e-util/e-table-column-specification.c
index a770bdcd62..c0c5e9b538 100644
--- a/e-util/e-table-column-specification.c
+++ b/e-util/e-table-column-specification.c
@@ -30,11 +30,6 @@
#include <stdlib.h>
-#include <libxml/parser.h>
-#include <libxml/xmlmemory.h>
-
-#include "e-xml-utils.h"
-
G_DEFINE_TYPE (
ETableColumnSpecification,
e_table_column_specification,
@@ -126,29 +121,3 @@ e_table_column_specification_equal (ETableColumnSpecification *spec_a,
return (spec_a->model_col == spec_b->model_col);
}
-void
-e_table_column_specification_load_from_node (ETableColumnSpecification *etcs,
- const xmlNode *node)
-{
- free_strings (etcs);
-
- etcs->model_col = e_xml_get_integer_prop_by_name (node, (const guchar *)"model_col");
- etcs->compare_col = e_xml_get_integer_prop_by_name_with_default (node, (const guchar *)"compare_col", etcs->model_col);
- etcs->title = e_xml_get_string_prop_by_name (node, (const guchar *)"_title");
- etcs->pixbuf = e_xml_get_string_prop_by_name (node, (const guchar *)"pixbuf");
-
- etcs->expansion = e_xml_get_double_prop_by_name (node, (const guchar *)"expansion");
- etcs->minimum_width = e_xml_get_integer_prop_by_name (node, (const guchar *)"minimum_width");
- etcs->resizable = e_xml_get_bool_prop_by_name (node, (const guchar *)"resizable");
- etcs->disabled = e_xml_get_bool_prop_by_name (node, (const guchar *)"disabled");
-
- etcs->cell = e_xml_get_string_prop_by_name (node, (const guchar *)"cell");
- etcs->compare = e_xml_get_string_prop_by_name (node, (const guchar *)"compare");
- etcs->search = e_xml_get_string_prop_by_name (node, (const guchar *)"search");
- etcs->sortable = e_xml_get_bool_prop_by_name_with_default (node, (const guchar *)"sortable", TRUE);
- etcs->priority = e_xml_get_integer_prop_by_name_with_default (node, (const guchar *)"priority", 0);
-
- if (etcs->title == NULL)
- etcs->title = g_strdup ("");
-}
-
diff --git a/e-util/e-table-column-specification.h b/e-util/e-table-column-specification.h
index 1790d2a42a..40e4cdfd4c 100644
--- a/e-util/e-table-column-specification.h
+++ b/e-util/e-table-column-specification.h
@@ -28,7 +28,6 @@
#define _E_TABLE_COLUMN_SPECIFICATION_H_
#include <glib-object.h>
-#include <libxml/tree.h>
/* Standard GObject macros */
#define E_TYPE_TABLE_COLUMN_SPECIFICATION \
@@ -84,9 +83,6 @@ ETableColumnSpecification *
gboolean e_table_column_specification_equal
(ETableColumnSpecification *spec_a,
ETableColumnSpecification *spec_b);
-void e_table_column_specification_load_from_node
- (ETableColumnSpecification *state,
- const xmlNode *node);
G_END_DECLS