hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=882e29b9ae73a3c9df62efb18b9cdf2546e73143

commit 882e29b9ae73a3c9df62efb18b9cdf2546e73143
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Wed Sep 30 20:28:45 2015 +0900

    ecore_win32: code refactoring.
    
    replace to ECORE_CALLBACK_PASS_ON from 1 for readability.
---
 src/modules/ecore_evas/engines/win32/ecore_evas_win32.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c 
b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
index 7626364..b460f16 100644
--- a/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
+++ b/src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
@@ -206,12 +206,10 @@ _ecore_evas_win32_event_mouse_out(void *data EINA_UNUSED, 
int type EINA_UNUSED,
    Ecore_Evas                  *ee;
    Ecore_Win32_Event_Mouse_Out *e;
 
-   INF("mouse out");
-
    e = event;
    ee = ecore_event_window_match((Ecore_Window)e->window);
-   if ((!ee) || (ee->ignore_events)) return 1; /* pass on event */
-   if ((Ecore_Window)e->window != ee->prop.window) return 1;
+   if ((!ee) || (ee->ignore_events)) return ECORE_CALLBACK_PASS_ON;
+   if ((Ecore_Window)e->window != ee->prop.window) return 
ECORE_CALLBACK_PASS_ON;
 
    /* FIXME to do */
 /*    _ecore_evas_x_modifier_locks_update(ee, e->modifiers); */
@@ -221,7 +219,7 @@ _ecore_evas_win32_event_mouse_out(void *data EINA_UNUSED, 
int type EINA_UNUSED,
    if (ee->func.fn_mouse_out) ee->func.fn_mouse_out(ee);
    if (ee->prop.cursor.object) evas_object_hide(ee->prop.cursor.object);
 
-   return 1;
+   return ECORE_CALLBACK_PASS_ON;
 }
 
 static Eina_Bool

-- 


Reply via email to