From 39f6c99ba98427363713fc9f37adc6ffb16adf8c Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sat, 22 Mar 2014 13:52:28 +0100 Subject: Use "plist_dict_set_item" instead of deprecated "plist_dict_insert_item" --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common.c') diff --git a/src/common.c b/src/common.c index 426b96f..7646361 100644 --- a/src/common.c +++ b/src/common.c @@ -279,7 +279,7 @@ void plist_dict_merge(plist_t* dictionary, plist_t node) if (plist_dict_get_item(*dictionary, key) != NULL) plist_dict_remove_item(*dictionary, key); - plist_dict_insert_item(*dictionary, key, plist_copy(subnode)); + plist_dict_set_item(*dictionary, key, plist_copy(subnode)); if (key) { free(key); key = NULL; -- cgit v1.1-32-gdbae