From 73f3e66f5808a13631352e82e570202862b2a94d Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 16 Nov 2018 12:20:53 +0900 Subject: [PATCH] ector: remove deprecated _efl_refplace and _efl_xrefplace. Summary: Depends on D7275 Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7276 --- src/lib/ector/ector_private.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/lib/ector/ector_private.h b/src/lib/ector/ector_private.h index 03d656454d..f1dbd2d1a4 100644 --- a/src/lib/ector/ector_private.h +++ b/src/lib/ector/ector_private.h @@ -42,24 +42,6 @@ extern int _ector_log_dom_global; /* The following macro are internal to Ector only at this stage */ -static inline Eo * -_efl_refplace(Eo **d, const Eo *s) -{ - Eo *tmp = *d; - *d = efl_ref(s); - if (tmp) efl_unref(tmp); - return *d; -} - -static inline Eo * -_efl_xrefplace(Eo **d, Eo *s, const Eo *ref_obj) -{ - Eo *tmp = *d; - *d = efl_xref(s, ref_obj); - if (tmp) efl_xunref(tmp, ref_obj); - return *d; -} - typedef struct _Ector_Renderer_Data Ector_Renderer_Data; typedef struct _Ector_Renderer_Gradient_Data Ector_Renderer_Gradient_Data; typedef struct _Ector_Renderer_Gradient_Linear_Data Ector_Renderer_Gradient_Linear_Data;