diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-11-04 15:12:00 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-11-04 15:13:08 +0900 |
commit | fbd00b162c0a0d8efbd342c9eb63ac53292bde6b (patch) | |
tree | 2fd827d7d4b1563145f4b2511d70642ebef99b51 | |
parent | 1fc6049a4d31a1471946434452c5cdbb262ee4db (diff) | |
download | bluetooth-fbd00b162c0a0d8efbd342c9eb63ac53292bde6b.tar.gz bluetooth-fbd00b162c0a0d8efbd342c9eb63ac53292bde6b.tar.bz2 bluetooth-fbd00b162c0a0d8efbd342c9eb63ac53292bde6b.zip |
Add the evas callback for BT on / off buttonsubmit/tizen/20161107.090120accepted/tizen/wearable/20161108.001325
Change-Id: I04bd9d2e63c93a5ffd95a3d883e918eb8eb01627
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | src/bt-main-view.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bt-main-view.c b/src/bt-main-view.c index 6c6c8e1..dd338fa 100644 --- a/src/bt-main-view.c +++ b/src/bt-main-view.c @@ -924,6 +924,11 @@ static Evas_Object * __bt_gl_bluetooth_check_get(void *data, Evas_Object *obj, c evas_object_propagate_events_set(check, EINA_FALSE); evas_object_repeat_events_set(check, EINA_TRUE); elm_access_object_unregister(check); + + /* add smart callback */ + evas_object_smart_callback_add(check, "changed", + __bt_base_bluetooth_cb, ad); + ad->gl_bt_check = check; } } |