genlist: use eina bool
authorChunEon Park <hermet@hermet.pe.kr>
Thu, 8 Jan 2015 14:41:29 +0000 (23:41 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Thu, 8 Jan 2015 14:41:29 +0000 (23:41 +0900)
src/lib/elm_genlist.c

index 61f9c99..9840f76 100644 (file)
@@ -4398,15 +4398,15 @@ newblock:
    return EINA_TRUE;
 }
 
-static int
+static Eina_Bool
 _item_process(Elm_Genlist_Data *sd,
               Elm_Gen_Item *it)
 {
-   if (!_item_block_add(sd, it)) return 1;
+   if (!_item_block_add(sd, it)) return EINA_FALSE;
    if (!sd->blocks)
      _item_block_realize(it->item->block);
 
-   return 0;
+   return EINA_TRUE;
 }
 
 static void