[evolution] Remove unused e_table_specification_save_to_string().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove unused e_table_specification_save_to_string().
- Date: Wed, 26 Jun 2013 15:35:22 +0000 (UTC)
commit be3e6825627400f8732df7a725d82913e9983546
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Jun 26 06:58:17 2013 -0400
Remove unused e_table_specification_save_to_string().
.../evolution-util/evolution-util-sections.txt | 1 -
e-util/e-table-specification.c | 31 --------------------
e-util/e-table-specification.h | 2 -
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 c4388f1..d7d1282 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -3919,7 +3919,6 @@ e_table_specification_new
e_table_specification_load_from_file
e_table_specification_load_from_string
e_table_specification_load_from_node
-e_table_specification_save_to_string
e_table_specification_save_to_node
<SUBSECTION Standard>
E_TABLE_SPECIFICATION
diff --git a/e-util/e-table-specification.c b/e-util/e-table-specification.c
index 9f790fd..ba58e1f 100644
--- a/e-util/e-table-specification.c
+++ b/e-util/e-table-specification.c
@@ -278,37 +278,6 @@ e_table_specification_load_from_node (ETableSpecification *specification,
}
/**
- * e_table_specification_save_to_string:
- * @specification: an #ETableSpecification
- *
- * Dumps the contents of @specification to a string. Free the returned
- * string with g_free().
- *
- * Returns: a newly-allocated string
- */
-gchar *
-e_table_specification_save_to_string (ETableSpecification *specification)
-{
- gchar *ret_val;
- xmlChar *string;
- gint length;
- xmlDoc *doc;
- xmlNode *node;
-
- g_return_val_if_fail (E_IS_TABLE_SPECIFICATION (specification), NULL);
-
- doc = xmlNewDoc ((const guchar *)"1.0");
- node = e_table_specification_save_to_node (specification);
- xmlDocSetRootElement (doc, node);
-
- xmlDocDumpMemory (doc, &string, &length);
- ret_val = g_strdup ((gchar *) string);
- xmlFree (string);
-
- return ret_val;
-}
-
-/**
* e_table_specification_save_to_node:
* @specification: an #ETableSpecification
*
diff --git a/e-util/e-table-specification.h b/e-util/e-table-specification.h
index 01e3a93..8933a40 100644
--- a/e-util/e-table-specification.h
+++ b/e-util/e-table-specification.h
@@ -95,8 +95,6 @@ void e_table_specification_load_from_node
(ETableSpecification *specification,
const xmlNode *node);
-gchar * e_table_specification_save_to_string
- (ETableSpecification *specification);
xmlNode * e_table_specification_save_to_node
(ETableSpecification *specification);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]