ecore_con: use only Eina_Magic infrastructure for set and check in Ecore_Con_Url.

Summary:
We can not have half our code rely on Ecore magic check and the other half
use Eina_Magic or this will lead to inconsistency with Eina_Magic definition.

Reviewers: zmike, segfaultxavi, bu5hm4n, raster

Reviewed By: raster

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10383
This commit is contained in:
Cedric BAIL 2019-10-14 09:38:23 -04:00 committed by Mike Blumenkrantz
parent 95b5731461
commit 18de24baeb
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ struct _Ecore_Con_Url
#define ECORE_CON_URL_CHECK_RETURN(u, ...) \
do \
{ \
if (!ECORE_MAGIC_CHECK(u, ECORE_MAGIC_CON_URL)) \
if (!EINA_MAGIC_CHECK(u, ECORE_MAGIC_CON_URL)) \
{ \
ECORE_MAGIC_FAIL(u, ECORE_MAGIC_CON_URL, __FUNCTION__); \
return __VA_ARGS__; \