diff options
author | Tom Hacohen <tom@stosb.com> | 2016-04-12 15:27:38 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2016-04-12 15:27:38 +0100 |
commit | 9a98d6376b3024bea4e07269ab64f85d73de01d6 (patch) | |
tree | 81f4709a02b75632a6f457109dc6c76584ec0371 | |
parent | 185fe20e881f8f460f8468d939a8cb6a3171283c (diff) |
Adjust according to the eo event member changes.
-rw-r--r-- | src/bin/ui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/ui.c b/src/bin/ui.c index f63c9fe..18ea8d6 100644 --- a/src/bin/ui.c +++ b/src/bin/ui.c | |||
@@ -258,7 +258,7 @@ _ui_select(void) | |||
258 | static Eina_Bool | 258 | static Eina_Bool |
259 | _ui_key(void *data EINA_UNUSED, const Eo_Event *event) | 259 | _ui_key(void *data EINA_UNUSED, const Eo_Event *event) |
260 | { | 260 | { |
261 | Evas_Event_Key_Down *ev = event->event_info; | 261 | Evas_Event_Key_Down *ev = event->info; |
262 | 262 | ||
263 | if (key_func) | 263 | if (key_func) |
264 | { | 264 | { |
@@ -297,7 +297,7 @@ static int down_menu_sel = 0; | |||
297 | static Eina_Bool | 297 | static Eina_Bool |
298 | _ui_mouse_down(void *data EINA_UNUSED, const Eo_Event *event) | 298 | _ui_mouse_down(void *data EINA_UNUSED, const Eo_Event *event) |
299 | { | 299 | { |
300 | Evas_Event_Mouse_Down *ev = event->event_info; | 300 | Evas_Event_Mouse_Down *ev = event->info; |
301 | 301 | ||
302 | if (ev->button != 1) return EINA_TRUE; | 302 | if (ev->button != 1) return EINA_TRUE; |
303 | if (menu_active) | 303 | if (menu_active) |
@@ -313,7 +313,7 @@ _ui_mouse_down(void *data EINA_UNUSED, const Eo_Event *event) | |||
313 | static Eina_Bool | 313 | static Eina_Bool |
314 | _ui_mouse_up(void *data EINA_UNUSED, const Eo_Event *event) | 314 | _ui_mouse_up(void *data EINA_UNUSED, const Eo_Event *event) |
315 | { | 315 | { |
316 | Evas_Event_Mouse_Up *ev = event->event_info; | 316 | Evas_Event_Mouse_Up *ev = event->info; |
317 | 317 | ||
318 | if (ev->button != 1) return EINA_TRUE; | 318 | if (ev->button != 1) return EINA_TRUE; |
319 | if (menu_active) | 319 | if (menu_active) |
@@ -338,7 +338,7 @@ _ui_mouse_up(void *data EINA_UNUSED, const Eo_Event *event) | |||
338 | static Eina_Bool | 338 | static Eina_Bool |
339 | _ui_mouse_move(void *data EINA_UNUSED, const Eo_Event *event) | 339 | _ui_mouse_move(void *data EINA_UNUSED, const Eo_Event *event) |
340 | { | 340 | { |
341 | Evas_Event_Mouse_Move *ev = event->event_info; | 341 | Evas_Event_Mouse_Move *ev = event->info; |
342 | 342 | ||
343 | if (ev->buttons != 1) return EINA_TRUE; | 343 | if (ev->buttons != 1) return EINA_TRUE; |
344 | if (menu_active) | 344 | if (menu_active) |