ami pushed a commit to branch elementary-1.15.

commit 5d15087b4ef1300941df93bc1b059e6803264ee1
Author: Vaibhav Gupta <>
Date:   Wed Aug 19 12:05:49 2015 +0530

    test_scroller: Fix item count variable
    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 <>
    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
    Differential Revision:
 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);


Reply via email to