ecore-evas: Fix return value in ecore_evas_aux_hint_val_set function
authorChris Michael <cp.michael@samsung.com>
Tue, 13 Jun 2017 16:55:01 +0000 (12:55 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 13 Jun 2017 16:57:29 +0000 (12:57 -0400)
Small patch to fix misleading return value when
ecore_evas_aux_hint_val_set fails. In the above code, we will return
EINA_TRUE already if the aux_hints_set works, so this return value at
the bottom of the function should be EINA_FALSE.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_evas/ecore_evas.c

index f375559..07ee8e8 100644 (file)
@@ -2445,7 +2445,7 @@ ecore_evas_aux_hint_val_set(Ecore_Evas *ee, const int id, const char *val)
           }
      }
 
-   return EINA_TRUE;
+   return EINA_FALSE;
 }
 
 EAPI const char *