diff options
author | Martin Szulecki | 2014-03-20 23:00:20 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-03-20 23:00:20 +0100 |
commit | 88ce6113593158944630435678e689bf155d9a03 (patch) | |
tree | 0757287665b7e9c7263d77fd269b0777e8228d25 /src/screenshotr.c | |
parent | a34a537d1408f8692daeadd5e1f5859ff13a3473 (diff) | |
download | libimobiledevice-88ce6113593158944630435678e689bf155d9a03.tar.gz libimobiledevice-88ce6113593158944630435678e689bf155d9a03.tar.bz2 |
Bump dependency to libplist 1.11 and remove use of "plist_dict_insert_item()"
Diffstat (limited to 'src/screenshotr.c')
-rw-r--r-- | src/screenshotr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screenshotr.c b/src/screenshotr.c index 5367450..a1b5759 100644 --- a/src/screenshotr.c +++ b/src/screenshotr.c @@ -162,7 +162,7 @@ screenshotr_error_t screenshotr_take_screenshot(screenshotr_client_t client, cha screenshotr_error_t res = SCREENSHOTR_E_UNKNOWN_ERROR; plist_t dict = plist_new_dict(); - plist_dict_insert_item(dict, "MessageType", plist_new_string("ScreenShotRequest")); + plist_dict_set_item(dict, "MessageType", plist_new_string("ScreenShotRequest")); res = screenshotr_error(device_link_service_send_process_message(client->parent, dict)); plist_free(dict); |