From 02716d03c88e48fed609a39cc11e2024d3f033af Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 31 May 2016 11:17:08 +0900 Subject: [PATCH] Efl event: Remove useless method declaration --- src/lib/efl/interfaces/efl_event.eo | 8 -------- src/lib/evas/canvas/efl_pointer_event.c | 12 ------------ src/lib/evas/canvas/efl_pointer_event.eo | 2 -- 3 files changed, 22 deletions(-) diff --git a/src/lib/efl/interfaces/efl_event.eo b/src/lib/efl/interfaces/efl_event.eo index d61491f..1e50274 100644 --- a/src/lib/efl/interfaces/efl_event.eo +++ b/src/lib/efl/interfaces/efl_event.eo @@ -26,14 +26,6 @@ interface Efl.Event ms: double; [[Time in milliseconds when the event happened.]] } } - @property event_type { - [[The type of this event, as an Eo Event type.]] - set {} - get {} - values { - type: const(Eo.Event.Description)*; - } - } reset { [[Resets the internal data to 0 or default values.]] } diff --git a/src/lib/evas/canvas/efl_pointer_event.c b/src/lib/evas/canvas/efl_pointer_event.c index 9791617..66a5e68 100644 --- a/src/lib/evas/canvas/efl_pointer_event.c +++ b/src/lib/evas/canvas/efl_pointer_event.c @@ -245,18 +245,6 @@ _efl_pointer_event_efl_event_timestamp_get(Eo *obj EINA_UNUSED, Efl_Pointer_Even } EOLIAN static void -_efl_pointer_event_efl_event_event_type_set(Eo *obj EINA_UNUSED, Efl_Pointer_Event_Data *pd, const Eo_Event_Description *type) -{ - pd->event_desc = type; -} - -EOLIAN static const Eo_Event_Description * -_efl_pointer_event_efl_event_event_type_get(Eo *obj EINA_UNUSED, Efl_Pointer_Event_Data *pd) -{ - return pd->event_desc; -} - -EOLIAN static void _efl_pointer_event_wheel_direction_set(Eo *obj EINA_UNUSED, Efl_Pointer_Event_Data *pd, Efl_Orient dir) { pd->wheel.dir = dir; diff --git a/src/lib/evas/canvas/efl_pointer_event.eo b/src/lib/evas/canvas/efl_pointer_event.eo index 8e614d9..48d522a 100644 --- a/src/lib/evas/canvas/efl_pointer_event.eo +++ b/src/lib/evas/canvas/efl_pointer_event.eo @@ -120,8 +120,6 @@ class Efl.Pointer.Event (Eo.Base, Efl.Event, Efl.Input.State) Efl.Event.dup; Efl.Event.timestamp.set; Efl.Event.timestamp.get; - Efl.Event.event_type.set; - Efl.Event.event_type.get; Efl.Input.State.modifier_enabled.get; Efl.Input.State.lock_enabled.get; } -- 2.7.4