summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-04-19 17:52:23 +0200
committerGravatar Nikias Bassen2023-04-19 17:52:23 +0200
commit3fdb11126928717007127688f55a5fffa8a59ac9 (patch)
treefa49826cb51d7c4376178f1f06cbcef62991763d
parentce9ce43efd707a85cc792ff2cc417603a53d4d1d (diff)
downloadlibplist-3fdb11126928717007127688f55a5fffa8a59ac9.tar.gz
libplist-3fdb11126928717007127688f55a5fffa8a59ac9.tar.bz2
Remove deprecated plist_dict_insert_item()
-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))