aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-table-specification.c27
-rw-r--r--e-util/e-table-specification.h2
2 files changed, 0 insertions, 29 deletions
diff --git a/e-util/e-table-specification.c b/e-util/e-table-specification.c
index 8ca0fe37d8..9f790fdbae 100644
--- a/e-util/e-table-specification.c
+++ b/e-util/e-table-specification.c
@@ -372,30 +372,3 @@ e_table_specification_save_to_node (ETableSpecification *specification)
return node;
}
-/**
- * e_table_specification_duplicate:
- * @specification: an #ETableSpecification
- *
- * Clones an #ETableSpecification instance from @specification.
- *
- * Returns: a new #ETableSpecification
- */
-ETableSpecification *
-e_table_specification_duplicate (ETableSpecification *specification)
-{
- ETableSpecification *new_spec;
- gchar *spec_str;
-
- g_return_val_if_fail (E_IS_TABLE_SPECIFICATION (specification), NULL);
-
- new_spec = e_table_specification_new ();
- spec_str = e_table_specification_save_to_string (specification);
- if (!e_table_specification_load_from_string (new_spec, spec_str)) {
- g_warning ("Unable to duplicate ETable specification");
- g_object_unref (new_spec);
- new_spec = NULL;
- }
- g_free (spec_str);
-
- return new_spec;
-}
diff --git a/e-util/e-table-specification.h b/e-util/e-table-specification.h
index b1998d7083..01e3a93f78 100644
--- a/e-util/e-table-specification.h
+++ b/e-util/e-table-specification.h
@@ -99,8 +99,6 @@ gchar * e_table_specification_save_to_string
(ETableSpecification *specification);
xmlNode * e_table_specification_save_to_node
(ETableSpecification *specification);
-ETableSpecification *
- e_table_specification_duplicate (ETableSpecification *specification);
G_END_DECLS