Fix typo 89/253589/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 16 Feb 2021 01:25:42 +0000 (10:25 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 16 Feb 2021 01:25:42 +0000 (10:25 +0900)
Change-Id: I802a3725f7e9e4331c11a468ed06ca168d52521c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/w-input-smartreply.cpp

index 8a758af..ba44b8e 100644 (file)
@@ -77,7 +77,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)
                        PRINTFUNC(DLOG_ERROR, "can not destroy list : %d", ret);
        }
@@ -190,7 +190,7 @@ bool input_smartreply_init(app_control_h app_control)
                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)
                        PRINTFUNC(DLOG_ERROR, "can not destroy list : %d", ret);
        }
@@ -247,7 +247,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)
                        PRINTFUNC(DLOG_ERROR, "can not destroy list : %d", ret);
        }
@@ -299,7 +299,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)
                        PRINTFUNC(DLOG_ERROR, "can not destroy list : %d", ret);
        }