ector: remove deprecated _efl_refplace and _efl_xrefplace.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 16 Nov 2018 03:20:53 +0000 (12:20 +0900)
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>
Tue, 20 Nov 2018 07:10:39 +0000 (16:10 +0900)
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

index 03d6564..f1dbd2d 100644 (file)
@@ -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;