aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_callbacks.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-08-19 15:42:44 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-08-26 10:18:01 +0900
commit4746627fcfcdda9b73636d0f2a98def6a526b940 (patch)
treeb6faca1bd89fdf98ec445ebd3182c111cf6a7664 /src/lib/evas/canvas/evas_callbacks.c
parentelm,evas: Remove use of EFL_CANVAS_OBJECT_EVENT_DEL (diff)
downloadefl-4746627fcfcdda9b73636d0f2a98def6a526b940.tar.gz
evas: Remove deprecated events from public EO class
del and free eo events don't need to be exposed, even as beta API. They are still required for legacy callbacks.
Diffstat (limited to 'src/lib/evas/canvas/evas_callbacks.c')
-rw-r--r--src/lib/evas/canvas/evas_callbacks.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_callbacks.c b/src/lib/evas/canvas/evas_callbacks.c
index 7ecd5509e4..7de24a3510 100644
--- a/src/lib/evas/canvas/evas_callbacks.c
+++ b/src/lib/evas/canvas/evas_callbacks.c
@@ -11,6 +11,12 @@ EVAS_MEMPOOL(_mp_pc);
extern Eina_Hash* signals_hash_table;
+/* Legacy events, do not use anywhere */
+static const Efl_Event_Description _EVAS_OBJECT_EVENT_FREE = EFL_EVENT_DESCRIPTION("free");
+static const Efl_Event_Description _EVAS_OBJECT_EVENT_DEL = EFL_EVENT_DESCRIPTION("del");
+#define EVAS_OBJECT_EVENT_FREE (&(_EVAS_OBJECT_EVENT_FREE))
+#define EVAS_OBJECT_EVENT_DEL (&(_EVAS_OBJECT_EVENT_DEL))
+
/**
* Evas events descriptions for Eo.
*/
@@ -39,7 +45,7 @@ DEFINE_EVAS_CALLBACKS(_legacy_evas_callback_table, EVAS_CALLBACK_LAST,
EFL_EVENT_POINTER_DOWN,
EFL_EVENT_POINTER_UP,
EFL_EVENT_POINTER_MOVE,
- EFL_CANVAS_OBJECT_EVENT_FREE,
+ EVAS_OBJECT_EVENT_FREE,
EFL_EVENT_KEY_DOWN,
EFL_EVENT_KEY_UP,
EFL_CANVAS_OBJECT_EVENT_FOCUS_IN,
@@ -49,7 +55,7 @@ DEFINE_EVAS_CALLBACKS(_legacy_evas_callback_table, EVAS_CALLBACK_LAST,
EFL_GFX_EVENT_MOVE,
EFL_GFX_EVENT_RESIZE,
EFL_GFX_EVENT_RESTACK,
- EFL_CANVAS_OBJECT_EVENT_DEL,
+ EVAS_OBJECT_EVENT_DEL,
EFL_EVENT_HOLD,
EFL_GFX_EVENT_CHANGE_SIZE_HINTS,
EFL_IMAGE_EVENT_PRELOAD,