summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/manager.c19
-rw-r--r--src/ug.c7
2 files changed, 6 insertions, 20 deletions
diff --git a/src/manager.c b/src/manager.c
index 859f360..301f384 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -390,24 +390,6 @@ static int ugman_ug_resume(void *data)
return 0;
}
-static int ugman_indicator_overlap_update(enum ug_option opt)
-{
- if (!ug_man.win) {
- _ERR("indicator update failed: no window");
- return -1;
- }
-
- if (GET_OPT_OVERLAP_VAL(opt)) {
- _DBG("update overlap indicator / opt(%d)", opt);
- elm_object_signal_emit(ug_man.conform, "elm,state,indicator,overlap", "");
- } else {
- _DBG("update no overlap indicator / opt(%d)", opt);
- elm_object_signal_emit(ug_man.conform, "elm,state,indicator,nooverlap", "");
- }
-
- return 0;
-}
-
static int ugman_indicator_update(enum ug_option opt, enum ug_event event)
{
_ERR("controlling indicator is disabled");
@@ -422,7 +404,6 @@ static int ugman_ug_getopt(ui_gadget_h ug)
/* Indicator Option */
if (ug->mode == UG_MODE_FULLVIEW) {
- ugman_indicator_overlap_update(ug->opt);
ugman_indicator_update(ug->opt, UG_EVENT_NONE);
}
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);