From 88ce6113593158944630435678e689bf155d9a03 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 20 Mar 2014 23:00:20 +0100 Subject: Bump dependency to libplist 1.11 and remove use of "plist_dict_insert_item()" --- src/mobilesync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mobilesync.c') diff --git a/src/mobilesync.c b/src/mobilesync.c index e9e05ee..fd64e63 100644 --- a/src/mobilesync.c +++ b/src/mobilesync.c @@ -987,10 +987,10 @@ void mobilesync_actions_add(plist_t actions, ...) plist_array_append_item(array, plist_new_string(entity_names[i])); } - plist_dict_insert_item(actions, key, array); + plist_dict_set_item(actions, key, array); } else if (!strcmp(key, "SyncDeviceLinkAllRecordsOfPulledEntityTypeSentKey")) { int link_records = va_arg(args, int); - plist_dict_insert_item(actions, key, plist_new_bool(link_records)); + plist_dict_set_item(actions, key, plist_new_bool(link_records)); } free(key); key = NULL; -- cgit v1.1-32-gdbae