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)
downloadelementary-c9548169bae0bae4b6fe7b538e149a0eace537c3.tar.gz
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)
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