From e82920cc312f4e6a797c532ee915630bdd134362 Mon Sep 17 00:00:00 2001 From: Wonki Kim Date: Thu, 16 Feb 2017 15:35:30 +0900 Subject: [PATCH] elm_genlist: fix recursive call of genlist eo api when user call elm_genlist_policy_set, It causes stack overflow because policy_set api calls itself. this commit modifies the policy_set api to call its parent method body rather than itself. Change-Id: Id5b56bc351c53e5ae38a31a6b69841e763db0acb Signed-off-by: Wonki Kim --- src/mobile_lib/elm_genlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mobile_lib/elm_genlist.c b/src/mobile_lib/elm_genlist.c index b08d1b0..8b36b18 100644 --- a/src/mobile_lib/elm_genlist.c +++ b/src/mobile_lib/elm_genlist.c @@ -8193,7 +8193,7 @@ _elm_genlist_elm_interface_scrollable_policy_set(Eo *obj, Elm_Genlist_Data *sd E (policy_v >= ELM_SCROLLER_POLICY_LAST)) return; - eo_do(obj, elm_interface_scrollable_policy_set(policy_h, policy_v)); + eo_do_super(obj, MY_CLASS, elm_interface_scrollable_policy_set(policy_h, policy_v)); } EAPI void -- 2.7.4