aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-26 06:47:22 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-26 23:36:12 +0800
commitbf447601756decdcd144940c3d52f11e6e7919b0 (patch)
tree43b51dae9d214a3fef1b871596debabc628064e3 /e-util
parent81a8e910972ab7963c2131cd6bcb0c47e776fd0f (diff)
downloadgsoc2013-evolution-bf447601756decdcd144940c3d52f11e6e7919b0.tar
gsoc2013-evolution-bf447601756decdcd144940c3d52f11e6e7919b0.tar.gz
gsoc2013-evolution-bf447601756decdcd144940c3d52f11e6e7919b0.tar.bz2
gsoc2013-evolution-bf447601756decdcd144940c3d52f11e6e7919b0.tar.lz
gsoc2013-evolution-bf447601756decdcd144940c3d52f11e6e7919b0.tar.xz
gsoc2013-evolution-bf447601756decdcd144940c3d52f11e6e7919b0.tar.zst
gsoc2013-evolution-bf447601756decdcd144940c3d52f11e6e7919b0.zip
Remove unused e_table_specification_save_to_file().
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-table-specification.c32
-rw-r--r--e-util/e-table-specification.h3
2 files changed, 0 insertions, 35 deletions
diff --git a/e-util/e-table-specification.c b/e-util/e-table-specification.c
index 24716b4977..8ca0fe37d8 100644
--- a/e-util/e-table-specification.c
+++ b/e-util/e-table-specification.c
@@ -278,38 +278,6 @@ e_table_specification_load_from_node (ETableSpecification *specification,
}
/**
- * e_table_specification_save_to_file:
- * @specification: an #ETableSpecification
- * @filename: the name of the file to save to
- *
- * Dumps the contents of @specification to @filename.
- *
- * Returns: 0 on success or -1 on error.
- */
-gint
-e_table_specification_save_to_file (ETableSpecification *specification,
- const gchar *filename)
-{
- xmlDoc *doc;
- xmlNode *node;
- gint ret;
-
- g_return_val_if_fail (E_IS_TABLE_SPECIFICATION (specification), -1);
- g_return_val_if_fail (filename != NULL, -1);
-
- doc = xmlNewDoc ((const guchar *) "1.0");
- if (doc == NULL)
- return -1;
-
- node = e_table_specification_save_to_node (specification);
- xmlDocSetRootElement (doc, node);
- ret = e_xml_save_file (filename, doc);
- xmlFreeDoc (doc);
-
- return ret;
-}
-
-/**
* e_table_specification_save_to_string:
* @specification: an #ETableSpecification
*
diff --git a/e-util/e-table-specification.h b/e-util/e-table-specification.h
index 4970a7f6b2..b1998d7083 100644
--- a/e-util/e-table-specification.h
+++ b/e-util/e-table-specification.h
@@ -95,9 +95,6 @@ void e_table_specification_load_from_node
(ETableSpecification *specification,
const xmlNode *node);
-gint e_table_specification_save_to_file
- (ETableSpecification *specification,
- const gchar *filename);
gchar * e_table_specification_save_to_string
(ETableSpecification *specification);
xmlNode * e_table_specification_save_to_node