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:12:30 +0900
commitc9548169bae0bae4b6fe7b538e149a0eace537c3 (patch)
tree378a920ed193210a55fbe6db592b963598a326de
parentd9be72bf9cfaaf3c6637769307f4280b1c7edf66 (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 93971450b..b01747dc3 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)
956EOLIAN static void 956EOLIAN static void
957_elm_naviframe_elm_layout_signal_emit(Eo *obj, Elm_Naviframe_Data *sd, const char *emission, const char *source) 957_elm_naviframe_elm_layout_signal_emit(Eo *obj, Elm_Naviframe_Data *sd, const char *emission, const char *source)
958{ 958{
959 if (!sd->stack) return; 959 Elm_Naviframe_Item *top_it;
960
961 top_it = (Elm_Naviframe_Item *)elm_naviframe_top_item_get(obj);
962 if (!top_it) return;
960 963
961 eo_do_super(obj, MY_CLASS, elm_obj_layout_signal_emit(emission, source)); 964 eo_do(VIEW(top_it), elm_obj_layout_signal_emit(emission, source));
962} 965}
963 966
964/* content/text smart functions proxying things to the top item, which 967/* content/text smart functions proxying things to the top item, which