summaryrefslogtreecommitdiff
path: root/src/lib/eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eo.c')
-rw-r--r--src/lib/eo.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/eo.c b/src/lib/eo.c
index 12812fb..7d8f07f 100644
--- a/src/lib/eo.c
+++ b/src/lib/eo.c
@@ -1516,11 +1516,7 @@ eo_composite_detach(Eo *comp_obj, Eo *parent)
EAPI Eina_Bool
eo_composite_is(const Eo *comp_obj)
{
- if (!EINA_MAGIC_CHECK(comp_obj, EO_EINA_MAGIC))
- {
- EINA_MAGIC_FAIL(comp_obj, EO_EINA_MAGIC);
- return EINA_FALSE;
- }
+ EO_MAGIC_RETURN_VAL(comp_obj, EO_EINA_MAGIC, EINA_FALSE);
return comp_obj->composite;
}