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"
462 void plist_dict_set_item(plist_t node, const char* key, plist_t item); 462 void plist_dict_set_item(plist_t node, const char* key, plist_t item);
463 463
464 /** 464 /**
465 * Insert a new item into a #PLIST_DICT node.
466 *
467 * @deprecated Deprecated. Use plist_dict_set_item instead.
468 *
469 * @param node the node of type #PLIST_DICT
470 * @param item the new item to insert
471 * @param key The identifier of the item to insert.
472 */
473 PLIST_WARN_DEPRECATED("use plist_dict_set_item instead")
474 void plist_dict_insert_item(plist_t node, const char* key, plist_t item);
475
476 /**
477 * Remove an existing position in a #PLIST_DICT node. 465 * Remove an existing position in a #PLIST_DICT node.
478 * Removed position will be freed using #plist_free 466 * Removed position will be freed using #plist_free
479 * 467 *
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)
887 } 887 }
888} 888}
889 889
890PLIST_API void plist_dict_insert_item(plist_t node, const char* key, plist_t item)
891{
892 plist_dict_set_item(node, key, item);
893}
894
895PLIST_API void plist_dict_remove_item(plist_t node, const char* key) 890PLIST_API void plist_dict_remove_item(plist_t node, const char* key)
896{ 891{
897 if (node && PLIST_DICT == plist_get_node_type(node)) 892 if (node && PLIST_DICT == plist_get_node_type(node))