diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-26 18:58:17 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-26 23:36:12 +0800 |
commit | be3e6825627400f8732df7a725d82913e9983546 (patch) | |
tree | 23d7eb2b66e303ef0a186d5ac0a4cb28f4bc4814 /e-util/e-table-specification.c | |
parent | 54a69c4cdaf3622c359d0ddc26223f3ebd503af4 (diff) | |
download | gsoc2013-evolution-be3e6825627400f8732df7a725d82913e9983546.tar.gz gsoc2013-evolution-be3e6825627400f8732df7a725d82913e9983546.tar.zst gsoc2013-evolution-be3e6825627400f8732df7a725d82913e9983546.zip |
Remove unused e_table_specification_save_to_string().
Diffstat (limited to 'e-util/e-table-specification.c')
-rw-r--r-- | e-util/e-table-specification.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/e-util/e-table-specification.c b/e-util/e-table-specification.c index 9f790fdbae..ba58e1ff7d 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 * |