aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-26 06:48:14 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-26 23:36:12 +0800
commit54a69c4cdaf3622c359d0ddc26223f3ebd503af4 (patch)
tree2ff612221159958981d7cdbaec436f95635a50a4
parentbf447601756decdcd144940c3d52f11e6e7919b0 (diff)
downloadgsoc2013-evolution-54a69c4cdaf3622c359d0ddc26223f3ebd503af4.tar
gsoc2013-evolution-54a69c4cdaf3622c359d0ddc26223f3ebd503af4.tar.gz
gsoc2013-evolution-54a69c4cdaf3622c359d0ddc26223f3ebd503af4.tar.bz2
gsoc2013-evolution-54a69c4cdaf3622c359d0ddc26223f3ebd503af4.tar.lz
gsoc2013-evolution-54a69c4cdaf3622c359d0ddc26223f3ebd503af4.tar.xz
gsoc2013-evolution-54a69c4cdaf3622c359d0ddc26223f3ebd503af4.tar.zst
gsoc2013-evolution-54a69c4cdaf3622c359d0ddc26223f3ebd503af4.zip
Remove unused e_table_specification_duplicate().
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/e-table-specification.c27
-rw-r--r--e-util/e-table-specification.h2
3 files changed, 0 insertions, 30 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index 4706934277..c4388f1fd8 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -3921,7 +3921,6 @@ e_table_specification_load_from_string
e_table_specification_load_from_node
e_table_specification_save_to_string
e_table_specification_save_to_node
-e_table_specification_duplicate
<SUBSECTION Standard>
E_TABLE_SPECIFICATION
E_IS_TABLE_SPECIFICATION
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