summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/plist/plist.h12
-rw-r--r--src/plist.c5
2 files changed, 0 insertions, 17 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h
index 9b16c58..e3e228f 100644
--- a/include/plist/plist.h
+++ b/include/plist/plist.h
@@ -462,18 +462,6 @@ extern "C"
void plist_dict_set_item(plist_t node, const char* key, plist_t item);
/**
- * Insert a new item into a #PLIST_DICT node.
- *
- * @deprecated Deprecated. Use plist_dict_set_item instead.
- *
- * @param node the node of type #PLIST_DICT
- * @param item the new item to insert
- * @param key The identifier of the item to insert.
- */
- PLIST_WARN_DEPRECATED("use plist_dict_set_item instead")
- void plist_dict_insert_item(plist_t node, const char* key, plist_t item);
-
- /**
* Remove an existing position in a #PLIST_DICT node.
* Removed position will be freed using #plist_free
*
diff --git a/src/plist.c b/src/plist.c
index 48b012b..e58e83a 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -887,11 +887,6 @@ PLIST_API void plist_dict_set_item(plist_t node, const char* key, plist_t item)
}
}
-PLIST_API void plist_dict_insert_item(plist_t node, const char* key, plist_t item)
-{
- plist_dict_set_item(node, key, item);
-}
-
PLIST_API void plist_dict_remove_item(plist_t node, const char* key)
{
if (node && PLIST_DICT == plist_get_node_type(node))