ami pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=b645e8c3bf66d43882e9d2952991d61cefa00e53
commit b645e8c3bf66d43882e9d2952991d61cefa00e53 Author: Vaibhav Gupta <g.vaibh...@samsung.com> Date: Wed Aug 19 12:05:49 2015 +0530 test_scroller: Fix item count variable Summary: Since the _count variable is static, the buttons which are added to scroller, get text value ahead of previously added count, instead of starting from 1 every time a new window is opened for the example. Signed-off-by: Vaibhav Gupta <g.vaibh...@samsung.com> Test Plan: Following is the test: 1. Open Scroller 3 sample 2. Add some items and note the "Item count value of added buttons 3. Close the sample 4. Re-open Scroller 3 sample, and again add some items 5. Observe the "Item count" text of added buttons. Reviewers: raster, Hermet, singh.amitesh Subscribers: sachin.dev Differential Revision: https://phab.enlightenment.org/D2959 --- src/bin/test_scroller.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/test_scroller.c b/src/bin/test_scroller.c index 4c01508..75ddfb7 100644 --- a/src/bin/test_scroller.c +++ b/src/bin/test_scroller.c @@ -572,6 +572,7 @@ void test_scroller3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) { Evas_Object *win, *bt, *bt2, *bt3, *bx, *bx2, *bx3, *bx4, *sc; + _count = 0; win = elm_win_util_standard_add("scroller3", "Scroller 3"); elm_win_autodel_set(win, EINA_TRUE); --