raster pushed a commit to branch elementary-1.16.

http://git.enlightenment.org/core/elementary.git/commit/?id=a9afa919bec3c6ebd377fa4e223210fec2bc2102

commit a9afa919bec3c6ebd377fa4e223210fec2bc2102
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Fri Mar 11 15:30:26 2016 +0900

    Revert "elm - genlist item - index get start from 0 - unbreak api break"
    
    This reverts commit 2321c0f232f980ae11a18c9efd4d7f42e8b6896a.
---
 src/lib/elm_genlist.c       | 2 +-
 src/lib/elm_genlist_item.eo | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 7100980..a706bd9 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -7254,7 +7254,7 @@ elm_genlist_item_cursor_engine_only_get(const 
Elm_Object_Item *eo_it)
 EOLIAN static int
 _elm_genlist_item_index_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
 {
-   int cnt = 0;
+   int cnt = 1;
    Elm_Gen_Item *tmp;
    ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, -1);
 
diff --git a/src/lib/elm_genlist_item.eo b/src/lib/elm_genlist_item.eo
index 18b5f4b..ef35ded 100644
--- a/src/lib/elm_genlist_item.eo
+++ b/src/lib/elm_genlist_item.eo
@@ -163,7 +163,7 @@ class Elm.Genlist_Item(Elm.Widget_Item)
                 get {
                      [[Get the index of the item. It is only valid once 
displayed.
 
-                       The index start from 0.
+                       The index start from 1.
                      ]]
                 }
                 values {

-- 


Reply via email to