summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2016-08-17 13:19:12 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2016-08-17 13:27:09 +0900
commit3521651110cd94aff871874d5423a7558f5d32b7 (patch)
tree76ca24f14945528c58e1ced7bdffec6afcba4974
parent2d975ccc6b012c4332c5e2d3760635eaf8ededa0 (diff)
downloadsyspopup-3521651110cd94aff871874d5423a7558f5d32b7.tar.gz
syspopup-3521651110cd94aff871874d5423a7558f5d32b7.tar.bz2
syspopup-3521651110cd94aff871874d5423a7558f5d32b7.zip
Fix the exception about keydown callback
Change-Id: Idb8a5d0f8e73aadb177c06e1c70b8c17d216ab8d Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rwxr-xr-xsyspopup/syspopup_efl.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/syspopup/syspopup_efl.c b/syspopup/syspopup_efl.c
index 2d2ceb7..6b0b8d4 100755
--- a/syspopup/syspopup_efl.c
+++ b/syspopup/syspopup_efl.c
@@ -38,20 +38,17 @@ static Eina_Bool __keydown_cb(void *data, int type, void *event)
{
int id = (int)((intptr_t)data);
Ecore_Event_Key *ev = event;
- int ret;
if (ev == NULL)
return ECORE_CALLBACK_DONE;
#if defined(X11)
- ret = x_syspopup_process_keypress(id, ev->keyname);
+ x_syspopup_process_keypress(id, ev->keyname);
#elif defined(WAYLAND)
- ret = wl_syspopup_process_keypress(id, ev->keyname);
+ wl_syspopup_process_keypress(id, ev->keyname);
#endif
- if (ret < 0)
- return ECORE_CALLBACK_PASS_ON;
- return ECORE_CALLBACK_DONE;
+ return ECORE_CALLBACK_PASS_ON;
}
static int __efl_rotate_cb(void *d, void *w, void *s)