diff options
-rw-r--r-- | src/w-input-smartreply.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w-input-smartreply.cpp b/src/w-input-smartreply.cpp index ad13844..6f30c36 100644 --- a/src/w-input-smartreply.cpp +++ b/src/w-input-smartreply.cpp @@ -65,7 +65,7 @@ static void _input_smartreply_get_reply_callback(int handle, int error, if (g_input_smartreply_data->candidate_list) { int ret; - ret = smartreply_service_destory_list(g_input_smartreply_data->candidate_list); + ret = smartreply_service_destroy_list(g_input_smartreply_data->candidate_list); if (ret != SMARTREPLY_ERROR_NONE) LOGD("can not destroy list : %d", ret); } @@ -116,7 +116,7 @@ bool input_smartreply_init(char *caller_id, char *sender, char *message) free(g_input_smartreply_data->lang); if (g_input_smartreply_data->candidate_list) { - ret = smartreply_service_destory_list(g_input_smartreply_data->candidate_list); + ret = smartreply_service_destroy_list(g_input_smartreply_data->candidate_list); if (ret != SMARTREPLY_ERROR_NONE) LOGD("can not destroy list : %d", ret); } @@ -149,7 +149,7 @@ void input_smartreply_deinit(void) if (g_input_smartreply_data->candidate_list) { int ret; - ret = smartreply_service_destory_list(g_input_smartreply_data->candidate_list); + ret = smartreply_service_destroy_list(g_input_smartreply_data->candidate_list); if (ret != SMARTREPLY_ERROR_NONE) LOGD("can not destroy list : %d", ret); } @@ -196,7 +196,7 @@ bool input_smartreply_get_reply(void) } if (g_input_smartreply_data->candidate_list) { - ret = smartreply_service_destory_list(g_input_smartreply_data->candidate_list); + ret = smartreply_service_destroy_list(g_input_smartreply_data->candidate_list); if (ret != SMARTREPLY_ERROR_NONE) LOGD("can not destroy list : %d", ret); } |