yakov pushed a commit to branch master.

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

commit 8ac832ffdf974bd91d3b013e00eaafbcc87f25f6
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Sun Jan 11 16:32:42 2015 +0200

    Revert "genlist: use eina bool"
    
      This reverts commit 1879cc39258c63c24f0abcff56558b1f1b60167a.
    
      Hermet, please check this commit it makes Fileselector crash,
      looks like you inverted the values: 1 should be EINA_TRUE.
      I recommend you to use Exactness to run all the tests automatically.
---
 src/lib/elm_genlist.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index dc8b5d7..750187e 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -4397,15 +4397,15 @@ newblock:
    return EINA_TRUE;
 }
 
-static Eina_Bool
+static int
 _item_process(Elm_Genlist_Data *sd,
               Elm_Gen_Item *it)
 {
-   if (!_item_block_add(sd, it)) return EINA_FALSE;
+   if (!_item_block_add(sd, it)) return 1;
    if (!sd->blocks)
      _item_block_realize(it->item->block);
 
-   return EINA_TRUE;
+   return 0;
 }
 
 static void

-- 


Reply via email to