summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-08-23 15:04:48 +0000
committerTom Hacohen <tom@stosb.com>2012-08-23 15:04:48 +0000
commitcf03cc1c7bed5da8fd45aac80ec8575c3cbc13a0 (patch)
tree2a4dfe4cdd31adc9c68c35e90fdc946b999e52bd /legacy
parentef5e9f83ab29485d88d49ae7360a16d00dbdd139 (diff)
Eo: Moved a magic check from an internal function to the external function.
SVN revision: 75626
Diffstat (limited to 'legacy')
-rw-r--r--legacy/eobj/src/lib/eo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/eobj/src/lib/eo.c b/legacy/eobj/src/lib/eo.c
index 4d2a2f27d3..9ece6f20c8 100644
--- a/legacy/eobj/src/lib/eo.c
+++ b/legacy/eobj/src/lib/eo.c
@@ -386,8 +386,6 @@ _eo_dov_internal(Eo *obj, Eo_Op_Type op_type, va_list p_list)
386 Eo_Op op = EO_NOOP; 386 Eo_Op op = EO_NOOP;
387 Eo_Kls_Itr prev_state; 387 Eo_Kls_Itr prev_state;
388 388
389 EO_MAGIC_RETURN_VAL(obj, EO_EINA_MAGIC, EINA_FALSE);
390
391 prev_error = obj->do_error; 389 prev_error = obj->do_error;
392 _eo_ref(obj); 390 _eo_ref(obj);
393 391
@@ -422,6 +420,8 @@ eo_do_internal(Eo *obj, Eo_Op_Type op_type, ...)
422 Eina_Bool ret = EINA_TRUE; 420 Eina_Bool ret = EINA_TRUE;
423 va_list p_list; 421 va_list p_list;
424 422
423 EO_MAGIC_RETURN_VAL(obj, EO_EINA_MAGIC, EINA_FALSE);
424
425 va_start(p_list, op_type); 425 va_start(p_list, op_type);
426 426
427 ret = _eo_dov_internal(obj, op_type, p_list); 427 ret = _eo_dov_internal(obj, op_type, p_list);