[evolution] Remove e_table_column_specification_load_from_node().



commit 30d15fc59cae5a45b0a0b7e2f674e92a1e229d67
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Jun 30 13:18:20 2013 -0400

    Remove e_table_column_specification_load_from_node().
    
    No longer used.

 .../evolution-util/evolution-util-sections.txt     |    1 -
 e-util/e-table-column-specification.c              |   31 --------------------
 e-util/e-table-column-specification.h              |    4 --
 3 files changed, 0 insertions(+), 36 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt 
b/doc/reference/evolution-util/evolution-util-sections.txt
index e71381e..4337854 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_equal
-e_table_column_specification_load_from_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 a770bdc..c0c5e9b 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 1790d2a..40e4cdf 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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]