fix wrong usage of EINA_FALSE as NULL

This commit is contained in:
Jérémy Zurcher 2014-08-22 10:20:57 +02:00
parent 72dc271d32
commit 33338c53aa
3 changed files with 4 additions and 4 deletions

View File

@ -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))
{

View File

@ -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
{

View File

@ -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)
{