jeyzu pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=76ba46b2f952b4f087bcc90b4d574297f4bbef1f
commit 76ba46b2f952b4f087bcc90b4d574297f4bbef1f Author: Jérémy Zurcher <[email protected]> Date: Fri Aug 22 10:20:57 2014 +0200 fix wrong usage of EINA_FALSE as NULL --- src/lib/elm_atspi_bridge.c | 2 +- src/lib/elm_entry.c | 4 ++-- src/lib/elm_interface_atspi_widget_action.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_atspi_bridge.c b/src/lib/elm_atspi_bridge.c index e83757c..9594414 100644 --- a/src/lib/elm_atspi_bridge.c +++ b/src/lib/elm_atspi_bridge.c @@ -1867,7 +1867,7 @@ _value_properties_set(const Eldbus_Service_Interface *interface, const char *pro const char *obj_path = eldbus_service_object_path_get(interface); Eo *obj = _access_object_from_path(obj_path); - EINA_SAFETY_ON_NULL_RETURN_VAL(obj, EINA_FALSE); + EINA_SAFETY_ON_NULL_RETURN_VAL(obj, NULL); if (!eldbus_message_iter_arguments_get(iter, "d", &value)) { diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index f0df346..b772e52 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -5430,7 +5430,7 @@ _elm_entry_elm_interface_atspi_text_attributes_get(Eo *obj, Elm_Entry_Data *_pd evas_textblock_cursor_free(cur1); evas_textblock_cursor_free(cur2); - if (!formats) return EINA_FALSE; + if (!formats) return NULL; EINA_LIST_FOREACH(formats, l , format) { @@ -5454,7 +5454,7 @@ _elm_entry_elm_interface_atspi_text_default_attributes_get(Eo *obj EINA_UNUSED, if (!txtblk) return NULL; format = evas_textblock_node_format_first_get(txtblk); - if (!format) return EINA_FALSE; + if (!format) return NULL; do { diff --git a/src/lib/elm_interface_atspi_widget_action.c b/src/lib/elm_interface_atspi_widget_action.c index 489ad81..8ab5e06 100644 --- a/src/lib/elm_interface_atspi_widget_action.c +++ b/src/lib/elm_interface_atspi_widget_action.c @@ -103,7 +103,7 @@ _elm_interface_atspi_widget_action_elm_interface_atspi_action_name_get(Eo *obj, int tmp = 0; eo_do(obj, actions = elm_interface_atspi_widget_action_elm_actions_get()); - if (!actions) return EINA_FALSE; + if (!actions) return NULL; while (actions[tmp].name) { --
