hermet pushed a commit to branch elementary-1.10. http://git.enlightenment.org/core/elementary.git/commit/?id=c9548169bae0bae4b6fe7b538e149a0eace537c3
commit c9548169bae0bae4b6fe7b538e149a0eace537c3 Author: Jaehyun Cho <jae_hyun....@samsung.com> Date: Thu Jul 31 22:06:20 2014 +0900 elc_naviframe: Fix warning caused by elm_obj_layout_signal_emit override function in naviframe Summary: Fix the elm_obj_layout_signal_emit override function in naviframe to prevent warning Reviewers: seoz, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D1253 @fix --- src/lib/elc_naviframe.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c index 9397145..b01747d 100644 --- a/src/lib/elc_naviframe.c +++ b/src/lib/elc_naviframe.c @@ -956,9 +956,12 @@ _back_btn_new(Evas_Object *obj, const char *title_label) EOLIAN static void _elm_naviframe_elm_layout_signal_emit(Eo *obj, Elm_Naviframe_Data *sd, const char *emission, const char *source) { - if (!sd->stack) return; + Elm_Naviframe_Item *top_it; + + top_it = (Elm_Naviframe_Item *)elm_naviframe_top_item_get(obj); + if (!top_it) return; - eo_do_super(obj, MY_CLASS, elm_obj_layout_signal_emit(emission, source)); + eo_do(VIEW(top_it), elm_obj_layout_signal_emit(emission, source)); } /* content/text smart functions proxying things to the top item, which --