hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=f675e236bce6fd05a7a31c2fcc57daf873a03943

commit f675e236bce6fd05a7a31c2fcc57daf873a03943
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Sat Mar 28 15:12:33 2015 +0900

    Fix elm_naviframe transition,finished smart events event_info
    
    Summary:
    A pointer to the internal Elm_Naviframe_Item_Data was mistakenly being 
passed as
    event_info.
    
    This patch changes the callback_call to pass the correct Elm_Object_Item 
(Eo) pointer.
    
    Reviewers: #elementary, Hermet
    
    Reviewed By: Hermet
    
    Differential Revision: https://phab.enlightenment.org/D2222
---
 src/lib/elc_naviframe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index df6fe81..9d2b7c5 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -1122,7 +1122,7 @@ _on_item_show_finished(void *data,
    if (sd->freeze_events)
      evas_object_freeze_events_set(VIEW(it), EINA_FALSE);
 
-   evas_object_smart_callback_call(WIDGET(it), SIG_TRANSITION_FINISHED, data);
+   evas_object_smart_callback_call(WIDGET(it), SIG_TRANSITION_FINISHED, 
EO_OBJ(it));
 }
 
 static void

-- 


Reply via email to