summaryrefslogtreecommitdiff
path: root/src/ug.c
diff options
context:
space:
mode:
authorJiwoong Im <jiwoong.im@samsung.com>2016-06-16 18:43:51 +0900
committerJiwoong Im <jiwoong.im@samsung.com>2016-06-16 19:12:29 +0900
commit64ca55d9ed58e80c353b588ef6ec2c03e56f7d7e (patch)
treefd17475a938127537752f808a0e50ebd2cd42291 /src/ug.c
parent0c2ea19d230c7e1447ce841b916c2eebaa43ed33 (diff)
downloadui-gadget-1-64ca55d9ed58e80c353b588ef6ec2c03e56f7d7e.tar.gz
ui-gadget-1-64ca55d9ed58e80c353b588ef6ec2c03e56f7d7e.tar.bz2
ui-gadget-1-64ca55d9ed58e80c353b588ef6ec2c03e56f7d7e.zip
fix abi issue
Change-Id: Idc9ca564c61f2f6278c93e950d3163c83391274c Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Diffstat (limited to 'src/ug.c')
-rw-r--r--src/ug.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ug.c b/src/ug.c
index 2f0c5a6..e35b90b 100644
--- a/src/ug.c
+++ b/src/ug.c
@@ -120,6 +120,11 @@ UG_API int ug_init(void *win, enum ug_option opt)
}
#endif
+UG_API int UG_INIT_EFL(void *win, enum ug_option opt)
+{
+ return ug_init_efl((Evas_Object *)win, opt);
+}
+
UG_API int ug_init_efl(Evas_Object *win, enum ug_option opt)
{
if (!win) {
@@ -324,7 +329,7 @@ UG_API int ug_send_result_full(ui_gadget_h ug, app_control_h send, app_control_r
snprintf(tmp_result, 4, "%d", result);
- app_control_add_extra_data(send_dup, UG_SERVICE_DATA_RESULT, (const char*)tmp_result);
+ app_control_add_extra_data(send_dup, UG_APP_CONTROL_DATA_RESULT, (const char*)tmp_result);
ug->cbs.result_cb(ug, send_dup, ug->cbs.priv);