Modify the operation for app control to path for image input 30/141330/1
authorsungwook79.park <sungwook79.park@samsung.com>
Mon, 31 Jul 2017 04:56:43 +0000 (13:56 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Mon, 31 Jul 2017 04:56:43 +0000 (13:56 +0900)
Change-Id: I15b9cd62c811e29ef6be405ed778ad7210ddd797
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
src/w-input-emoticon.cpp

index 995a955..ea1140a 100755 (executable)
@@ -378,8 +378,9 @@ static void _drawing_app_control_reply_cb(app_control_h request, app_control_h r
 
     if(path){
         PRINTFUNC(DLOG_DEBUG, "path=%s", path);
+        char *pathes[] = {path, };
+        reply_to_sender_by_callback(NULL, "image", (const char **)pathes);
         free(path);
-        reply_to_sender_by_callback((const char*)path, "image", NULL);
     }
     ui_app_exit();
 }