aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-06-13 12:55:01 -0400
committerChris Michael <cp.michael@samsung.com>2017-06-13 12:57:29 -0400
commita5d93a4ece40ec43c831c2c942fd299d94a694f9 (patch)
treee2d8335b69bdddf947ba2f101da57e8c717030a8
parentecore-evas: Support auxiliary hints for ecore-evas-wayland (diff)
downloadefl-a5d93a4ece40ec43c831c2c942fd299d94a694f9.tar.gz
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>
-rw-r--r--src/lib/ecore_evas/ecore_evas.c2
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)
}
}
- return EINA_TRUE;
+ return EINA_FALSE;
}
EAPI const char *