From 7f6793869bc753e3846b53350525cea04ca55145 Mon Sep 17 00:00:00 2001 From: tasn Date: Wed, 22 Aug 2012 13:10:08 +0000 Subject: Eo: Use our own magic check macro instead of Eina's git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@75549 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eo.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/eo.c') 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; } -- cgit v1.2.3