summaryrefslogtreecommitdiff
path: root/src/lib/eo.c
diff options
context:
space:
mode:
authortasn <tasn>2012-08-22 13:10:08 +0000
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2012-08-22 13:10:08 +0000
commit7f6793869bc753e3846b53350525cea04ca55145 (patch)
tree4ac3bbf813df554d2c7484e67ef291b4c98fd262 /src/lib/eo.c
parenta23afccf20668ea321cd9a2dd0632341394e6d86 (diff)
downloadeobj-7f6793869bc753e3846b53350525cea04ca55145.tar.gz
eobj-7f6793869bc753e3846b53350525cea04ca55145.tar.bz2
eobj-7f6793869bc753e3846b53350525cea04ca55145.zip
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
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;
}