summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2014-07-31 22:06:20 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-07-31 22:06:27 +0900
commit477b89c5afa99fae8926dc86c559f476dfa9b320 (patch)
tree104d3d787e1ce47a9d87c4bfab45d356c5f9e6e6
parentd5218350490f893e115f59d274570d11b4af6e4c (diff)
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
-rw-r--r--src/lib/elc_naviframe.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index 1c6d7b832..feb09e729 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -985,9 +985,12 @@ _back_btn_new(Evas_Object *obj, const char *title_label)
985EOLIAN static void 985EOLIAN static void
986_elm_naviframe_elm_layout_signal_emit(Eo *obj, Elm_Naviframe_Data *sd, const char *emission, const char *source) 986_elm_naviframe_elm_layout_signal_emit(Eo *obj, Elm_Naviframe_Data *sd, const char *emission, const char *source)
987{ 987{
988 if (!sd->stack) return; 988 Elm_Naviframe_Item *top_it;
989
990 top_it = (Elm_Naviframe_Item *)elm_naviframe_top_item_get(obj);
991 if (!top_it) return;
989 992
990 eo_do_super(obj, MY_CLASS, elm_obj_layout_signal_emit(emission, source)); 993 eo_do(VIEW(top_it), elm_obj_layout_signal_emit(emission, source));
991} 994}
992 995
993/* content/text smart functions proxying things to the top item, which 996/* content/text smart functions proxying things to the top item, which