In Elementary too ...

BR,
-- 
Fabiano Fidêncio
ProFUSION embedded systems
http://www.profusion.mobi
Index: src/lib/elm_menu.c
===================================================================
--- src/lib/elm_menu.c	(revision 49464)
+++ src/lib/elm_menu.c	(working copy)
@@ -657,7 +657,7 @@
 EAPI Eina_Bool
 elm_menu_item_disabled_get(Elm_Menu_Item *item)
 {
-   if (!item) return 0;
+   if (!item) return EINA_FALSE;
    return item->disabled;
 }
 
@@ -733,7 +733,7 @@
 EAPI Eina_Bool
 elm_menu_item_is_separator(Elm_Menu_Item *item)
 {
-   if (!item) return 0;
+   if (!item) return EINA_FALSE;
    return item->separator;
 }
 
Index: src/lib/elm_genlist.c
===================================================================
--- src/lib/elm_genlist.c	(revision 49464)
+++ src/lib/elm_genlist.c	(working copy)
@@ -705,7 +705,7 @@
 {
    Elm_Genlist_Item *it = data;
    Evas_Event_Mouse_Up *ev = event_info;
-   Eina_Bool dragged = 0;
+   Eina_Bool dragged = EINA_FALSE;
 
    if (ev->button != 1) return;
    it->down = 0;
@@ -2112,7 +2112,7 @@
    Widget_Data *wd = elm_widget_data_get(obj);
    Eina_List *list = NULL;
    Item_Block *itb;
-   Eina_Bool done = 0;
+   Eina_Bool done = EINA_FALSE;
    if (!wd) return NULL;
    EINA_INLIST_FOREACH(wd->blocks, itb)
      {
Index: src/lib/els_scroller.c
===================================================================
--- src/lib/els_scroller.c	(revision 49464)
+++ src/lib/els_scroller.c	(working copy)
@@ -415,8 +415,8 @@
 {
    if ((sd->pagerel_h == 0.0) && (sd->pagesize_h == 0) &&
        (sd->pagerel_v == 0.0) && (sd->pagesize_v == 0))
-     return 0;
-   return 1;
+     return EINA_FALSE;
+   return EINA_TRUE;
 }
 
 static Evas_Coord
@@ -570,21 +570,21 @@
    switch (dir)
      {
      case LEFT:
-        if (px > 0) return 1;
+        if (px > 0) return EINA_TRUE;
         break;
      case RIGHT:
-        if (px < mx) return 1;
+        if (px < mx) return EINA_TRUE;
         break;
      case UP:
-        if (py > 0) return 1;
+        if (py > 0) return EINA_TRUE;
         break;
      case DOWN:
-        if (py < my) return 1;
+        if (py < my) return EINA_TRUE;
         break;
      default:
         break;
      }
-   return 0;
+   return EINA_FALSE;
 }
 
 static int
@@ -1424,7 +1424,7 @@
              elm_widget_drag_lock_y_set(sd->widget, 0);
           }
      }
-   return 1;
+   return EINA_TRUE;
 }
 
 static void
@@ -1694,7 +1694,7 @@
           }
         if (start) _smart_drag_start(sd->smart_obj);
      }
-   return 1;
+   return EINA_TRUE;
 }
 
 static void
Index: src/lib/elm_config.c
===================================================================
--- src/lib/elm_config.c	(revision 49464)
+++ src/lib/elm_config.c	(working copy)
@@ -64,7 +64,7 @@
                                               _atom[ATOM_E_CONFIG], 
                                               _atom[ATOM_E_CONFIG], 
                                               8, &data, &size))
-          return 0;
+          return EINA_FALSE;
         else
           _atom_config = _atom[ATOM_E_CONFIG];
      }
@@ -73,16 +73,16 @@
    if (size < 1)
      {
         free(data);
-        return 0;
+        return EINA_FALSE;
      }
    config_data = eet_data_descriptor_decode(_config_edd, data, size);
    free(data);
-   if (!config_data) return 0;
+   if (!config_data) return EINA_FALSE;
    _config_free();
    _elm_config = config_data;
    _config_apply();
    _elm_rescale();
-   return 1;
+   return EINA_TRUE;
 }
 
 static int
Index: src/lib/elm_photocam.c
===================================================================
--- src/lib/elm_photocam.c	(revision 49464)
+++ src/lib/elm_photocam.c	(working copy)
@@ -375,7 +375,7 @@
         for (x = 0; x < g->gw; x++)
           {
              int tn, xx, yy, ww, hh;
-             Eina_Bool visible = 0;
+             Eina_Bool visible = EINA_FALSE;
              
              tn = (y * g->gw) + x;
              xx = g->grid[tn].out.x;
Index: src/lib/elm_widget.c
===================================================================
--- src/lib/elm_widget.c	(revision 49464)
+++ src/lib/elm_widget.c	(working copy)
@@ -1011,7 +1011,7 @@
 EAPI Eina_Bool
 elm_widget_drag_lock_x_get(Evas_Object *obj)
 {
-   API_ENTRY return 0;
+   API_ENTRY return EINA_FALSE;
    printf("check %p x lock %i\n", obj, sd->drag_x_locked);
    return sd->drag_x_locked;
 }
@@ -1019,7 +1019,7 @@
 EAPI Eina_Bool
 elm_widget_drag_lock_y_get(Evas_Object *obj)
 {
-   API_ENTRY return 0;
+   API_ENTRY return EINA_FALSE;
    printf("check %p y lock %i\n", obj, sd->drag_y_locked);
    return sd->drag_y_locked;
 }
Index: src/lib/elm_photo.c
===================================================================
--- src/lib/elm_photo.c	(revision 49464)
+++ src/lib/elm_photo.c	(working copy)
@@ -132,13 +132,13 @@
 EAPI Eina_Bool
 elm_photo_file_set(Evas_Object *obj, const char *file)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    if (!_els_smart_icon_file_key_set(wd->img, file, NULL))
-     return 0;
+     return EINA_FALSE;
    _sizing_eval(obj);
-   return 1;
+   return EINA_TRUE;
 }
 
 /**
Index: src/lib/elm_toolbar.c
===================================================================
--- src/lib/elm_toolbar.c	(revision 49464)
+++ src/lib/elm_toolbar.c	(working copy)
@@ -659,10 +659,10 @@
 EAPI Eina_Bool
 elm_toolbar_scrollable_get(Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
 
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    return wd->scrollable;
 }
 
@@ -696,10 +696,10 @@
 EAPI Eina_Bool
 elm_toolbar_homogenous_get(Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
 
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    return wd->homogeneous;
 }
 
Index: src/lib/elm_index.c
===================================================================
--- src/lib/elm_index.c	(revision 49464)
+++ src/lib/elm_index.c	(working copy)
@@ -268,7 +268,7 @@
    Evas_Coord x, y, w, h, bx, by, bw, bh, xx, yy;
    double cdv = 0.5;
    Evas_Coord dist;
-   Eina_Bool change = 0;
+   Eina_Bool change = EINA_FALSE;
    char *label = NULL, *last = NULL;
    int i;
    if (!wd) return;
Index: src/lib/elm_thumb.c
===================================================================
--- src/lib/elm_thumb.c	(revision 49464)
+++ src/lib/elm_thumb.c	(working copy)
@@ -308,7 +308,7 @@
 #endif
 
 #ifdef ELM_ETHUMB
-static Eina_Bool _elm_need_ethumb = 0;
+static Eina_Bool _elm_need_ethumb = EINA_FALSE;
 
 static void _on_die_cb(void *, Ethumb_Client *);
 
Index: src/lib/elm_main.c
===================================================================
--- src/lib/elm_main.c	(revision 49464)
+++ src/lib/elm_main.c	(working copy)
@@ -331,7 +331,7 @@
 }
 
 #ifdef ELM_EDBUS
-static Eina_Bool _elm_need_e_dbus = 0;
+static Eina_Bool _elm_need_e_dbus = EINA_FALSE;
 #endif
 EAPI void
 elm_need_e_dbus(void)
@@ -358,7 +358,7 @@
 }
 
 #ifdef ELM_EFREET
-static Eina_Bool _elm_need_efreet = 0;
+static Eina_Bool _elm_need_efreet = EINA_FALSE;
 #endif
 EAPI void
 elm_need_efreet(void)
Index: src/lib/els_icon.c
===================================================================
--- src/lib/els_icon.c	(revision 49464)
+++ src/lib/els_icon.c	(working copy)
@@ -48,15 +48,15 @@
    Smart_Data *sd;
 
    sd = evas_object_smart_data_get(obj);
-   if (!sd) return 0;
+   if (!sd) return EINA_FALSE;
    /* smart code here */
    if (sd->size != 0)
      evas_object_image_load_size_set(sd->obj, sd->size, sd->size);
    evas_object_image_file_set(sd->obj, file, key);
    if (evas_object_image_load_error_get(sd->obj) != EVAS_LOAD_ERROR_NONE)
-     return 0;
+     return EINA_FALSE;
    _smart_reconfigure(sd);
-   return 1;
+   return EINA_TRUE;
 }
 
 Eina_Bool
@@ -65,15 +65,15 @@
    Smart_Data *sd;
 
    sd = evas_object_smart_data_get(obj);
-   if (!sd) return 0;
+   if (!sd) return EINA_FALSE;
    /* smart code here */
    if (sd->obj) evas_object_del(sd->obj);
    sd->obj = edje_object_add(evas_object_evas_get(obj));
    evas_object_smart_member_add(sd->obj, obj);
    if (!edje_object_file_set(sd->obj, file, part))
-     return 0;
+     return EINA_FALSE;
    _smart_reconfigure(sd);
-   return 1;
+   return EINA_TRUE;
 }
 
 void
Index: src/lib/elm_spinner.c
===================================================================
--- src/lib/elm_spinner.c	(revision 49464)
+++ src/lib/elm_spinner.c	(working copy)
@@ -208,14 +208,14 @@
           new_val = wd->val_max;
      }
 
-   if (new_val == wd->val) return 0;
+   if (new_val == wd->val) return EINA_FALSE;
    wd->val = new_val;
 
    evas_object_smart_callback_call(obj, "changed", NULL);
    if (wd->delay) ecore_timer_del(wd->delay);
    wd->delay = ecore_timer_add(0.2, _delay_change, obj);
 
-   return 1;
+   return EINA_TRUE;
 }
 
 static void
Index: src/lib/elc_scrolled_entry.c
===================================================================
--- src/lib/elc_scrolled_entry.c	(revision 49464)
+++ src/lib/elc_scrolled_entry.c	(working copy)
@@ -571,9 +571,9 @@
 EAPI Eina_Bool
 elm_scrolled_entry_cursor_next(Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    return elm_entry_cursor_next(wd->entry);
 }
 
@@ -588,9 +588,9 @@
 EAPI Eina_Bool
 elm_scrolled_entry_cursor_prev(Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    return elm_entry_cursor_prev(wd->entry);
 }
 
@@ -605,9 +605,9 @@
 EAPI Eina_Bool
 elm_scrolled_entry_cursor_up(Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    return elm_entry_cursor_up(wd->entry);
 }
 
@@ -622,9 +622,9 @@
 EAPI Eina_Bool
 elm_scrolled_entry_cursor_down(Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    return elm_entry_cursor_down(wd->entry);
 }
 
@@ -737,9 +737,9 @@
 EAPI Eina_Bool
 elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    return elm_entry_cursor_is_format_get(wd->entry);
 }
 
@@ -754,9 +754,9 @@
 EAPI Eina_Bool
 elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    return elm_entry_cursor_is_visible_format_get(wd->entry);
 }
 
@@ -890,9 +890,9 @@
 EAPI Eina_Bool
 elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj)
 {
-   ELM_CHECK_WIDTYPE(obj, widtype) 0;
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
    Widget_Data *wd = elm_widget_data_get(obj);
-   if (!wd) return 0;
+   if (!wd) return EINA_FALSE;
    return elm_entry_context_menu_disabled_get(wd->entry);
 }
 
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to