devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=c328ba006ea5efce88534bd0afbef136a7139d07

commit c328ba006ea5efce88534bd0afbef136a7139d07
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Mar 30 15:21:18 2015 -0400

    terminology: Use proper event structure for mouse up callback
    
    Summary: When catching evas mouse up callbacks, we should be using the
    Evas_Event_Mouse_Up structure for the event
    
    @fix
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/media.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/media.c b/src/bin/media.c
index c0ed0d0..dc04450 100644
--- a/src/bin/media.c
+++ b/src/bin/media.c
@@ -1097,7 +1097,7 @@ _mouse_down_cb(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_UNUSED, vo
 static void
 _mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, 
void *event)
 {
-   Evas_Event_Mouse_Down *ev = event;
+   Evas_Event_Mouse_Up *ev = event;
    Media *sd = evas_object_smart_data_get(data);
    Evas_Coord dx, dy;
    if (!sd) return;

-- 


Reply via email to