diff options
author | Chris Michael <cp.michael@samsung.com> | 2017-06-13 12:55:01 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2017-06-13 12:57:29 -0400 |
commit | a5d93a4ece40ec43c831c2c942fd299d94a694f9 (patch) | |
tree | e2d8335b69bdddf947ba2f101da57e8c717030a8 /src/lib/ecore_evas/ecore_evas.c | |
parent | 0d5d15755920a9011d41f7d5af19ff4c212c7b19 (diff) |
ecore-evas: Fix return value in ecore_evas_aux_hint_val_set function
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>
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_evas/ecore_evas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index f375559c98..07ee8e8dce 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c | |||
@@ -2445,7 +2445,7 @@ ecore_evas_aux_hint_val_set(Ecore_Evas *ee, const int id, const char *val) | |||
2445 | } | 2445 | } |
2446 | } | 2446 | } |
2447 | 2447 | ||
2448 | return EINA_TRUE; | 2448 | return EINA_FALSE; |
2449 | } | 2449 | } |
2450 | 2450 | ||
2451 | EAPI const char * | 2451 | EAPI const char * |