summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-02-04 09:34:20 -0500
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-02-14 09:20:51 +0100
commitedcc16238b3885f32bdde5c7dd4864e6809880db (patch)
tree1ce2805f649554cfd81239405494d4dbb262c991 /src/lib/evas
parent3d858f394831e0a06c93e4514a69e057b72ffc13 (diff)
efl/gesture: remove recognizer::reset method
this wasn't used and doesn't seem necessary ref T8503 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D11279
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer.c7
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer.eo7
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c14
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo1
4 files changed, 0 insertions, 29 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer.c b/src/lib/evas/gesture/efl_canvas_gesture_recognizer.c
index a59f624dd6..588a233660 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer.c
@@ -12,13 +12,6 @@ _recognizer_config_get(const Eo *obj, const char *name)
12 return efl_config_get(config, name); 12 return efl_config_get(config, name);
13} 13}
14 14
15EOLIAN static void
16_efl_canvas_gesture_recognizer_reset(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Recognizer_Data *pd EINA_UNUSED,
17 Efl_Canvas_Gesture *gesture EINA_UNUSED)
18{
19}
20
21
22EOLIAN static Eina_Bool 15EOLIAN static Eina_Bool
23_efl_canvas_gesture_recognizer_continues_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Recognizer_Data *pd) 16_efl_canvas_gesture_recognizer_continues_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Recognizer_Data *pd)
24{ 17{
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer.eo b/src/lib/evas/gesture/efl_canvas_gesture_recognizer.eo
index b27178de09..ef0ef0d9f7 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer.eo
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer.eo
@@ -34,13 +34,6 @@ abstract @beta Efl.Canvas.Gesture_Recognizer extends Efl.Object
34 } 34 }
35 return: Efl.Canvas.Gesture_Recognizer_Result; [[Returns the result of the analysis.]] 35 return: Efl.Canvas.Gesture_Recognizer_Result; [[Returns the result of the analysis.]]
36 } 36 }
37 /* FIXME: This function is not used? */
38 reset {
39 [[This function is called by the framework to reset a given gesture.]]
40 params {
41 @in gesture: Efl.Canvas.Gesture; [[The gesture object.]]
42 }
43 }
44 @property continues { 37 @property continues {
45 [[This property determines whether a gesture recognizer should continue 38 [[This property determines whether a gesture recognizer should continue
46 to try processing events after returning @Efl.Canvas.Gesture_Recognizer_Result.finish 39 to try processing events after returning @Efl.Canvas.Gesture_Recognizer_Result.finish
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c
index e9eb619691..5023a58980 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.c
@@ -141,20 +141,6 @@ _efl_canvas_gesture_recognizer_long_tap_efl_canvas_gesture_recognizer_recognize(
141 return result; 141 return result;
142} 142}
143 143
144EOLIAN static void
145_efl_canvas_gesture_recognizer_long_tap_efl_canvas_gesture_recognizer_reset(Eo *obj,
146 Efl_Canvas_Gesture_Recognizer_Long_Tap_Data *pd,
147 Efl_Canvas_Gesture *gesture)
148{
149 if (pd->timeout)
150 {
151 ecore_timer_del(pd->timeout);
152 pd->timeout = NULL;
153 }
154 pd->is_timeout = EINA_FALSE;
155 efl_gesture_recognizer_reset(efl_super(obj, MY_CLASS), gesture);
156}
157
158EOLIAN static double 144EOLIAN static double
159_efl_canvas_gesture_recognizer_long_tap_timeout_get(const Eo *obj EINA_UNUSED, 145_efl_canvas_gesture_recognizer_long_tap_timeout_get(const Eo *obj EINA_UNUSED,
160 Efl_Canvas_Gesture_Recognizer_Long_Tap_Data *pd) 146 Efl_Canvas_Gesture_Recognizer_Long_Tap_Data *pd)
diff --git a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo
index c0a08baeaa..f5233cb06d 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo
+++ b/src/lib/evas/gesture/efl_canvas_gesture_recognizer_long_tap.eo
@@ -21,6 +21,5 @@ class @beta Efl.Canvas.Gesture_Recognizer_Long_Tap extends Efl.Canvas.Gesture_Re
21 Efl.Object.destructor; 21 Efl.Object.destructor;
22 Efl.Canvas.Gesture_Recognizer.type { get; } 22 Efl.Canvas.Gesture_Recognizer.type { get; }
23 Efl.Canvas.Gesture_Recognizer.recognize; 23 Efl.Canvas.Gesture_Recognizer.recognize;
24 Efl.Canvas.Gesture_Recognizer.reset;
25 } 24 }
26} 25}