Hoversel: Fix dismiss callback
authorYeshwanth Reddivari <r.yeshwanth@samsung.com>
Mon, 2 Nov 2015 13:59:57 +0000 (19:29 +0530)
committerAmitesh Singh <amitesh.sh@samsung.com>
Mon, 2 Nov 2015 13:59:57 +0000 (19:29 +0530)
Summary: Dismiss callback was getting called on hover object instead of hoversel object.

Reviewers: raster, Hermet, alok25, mvsovani, conr2d, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D3261

src/lib/elc_hoversel.c

index bcf3159..11e9436 100644 (file)
@@ -352,7 +352,7 @@ _hover_end_finished(void *data,
         sd->scr = NULL;
         sd->last_location = NULL;
 
-        eo_do(obj, eo_event_callback_call(ELM_HOVERSEL_EVENT_DISMISSED, NULL));
+        eo_do(data, eo_event_callback_call(ELM_HOVERSEL_EVENT_DISMISSED, NULL));
      }
 }