summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_canvas_gesture.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:09:44 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:31:55 +0200
commitfcae7cab276c2d3b19bb913ad908b67b7dd33089 (patch)
tree7008ebc815184309ccc284c9e7e1b05abbb55028 /src/lib/evas/gesture/efl_canvas_gesture.c
parente50b43d02fdb0b608f2c99014357c95a1a746c43 (diff)
eolian gen: enable constness generation on property getter impls
This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859.
Diffstat (limited to 'src/lib/evas/gesture/efl_canvas_gesture.c')
-rw-r--r--src/lib/evas/gesture/efl_canvas_gesture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/gesture/efl_canvas_gesture.c b/src/lib/evas/gesture/efl_canvas_gesture.c
index b0fca13..7386a90 100644
--- a/src/lib/evas/gesture/efl_canvas_gesture.c
+++ b/src/lib/evas/gesture/efl_canvas_gesture.c
@@ -3,13 +3,13 @@
3#define MY_CLASS EFL_CANVAS_GESTURE_CLASS 3#define MY_CLASS EFL_CANVAS_GESTURE_CLASS
4 4
5EOLIAN static const Efl_Event_Description * 5EOLIAN static const Efl_Event_Description *
6 _efl_canvas_gesture_type_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) 6 _efl_canvas_gesture_type_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd)
7{ 7{
8 return pd->type; 8 return pd->type;
9} 9}
10 10
11EOLIAN static Efl_Canvas_Gesture_State 11EOLIAN static Efl_Canvas_Gesture_State
12_efl_canvas_gesture_state_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) 12_efl_canvas_gesture_state_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd)
13{ 13{
14 return pd->state; 14 return pd->state;
15} 15}
@@ -28,7 +28,7 @@ _efl_canvas_gesture_hotspot_set(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd
28 28
29 29
30EOLIAN static Eina_Vector2 30EOLIAN static Eina_Vector2
31_efl_canvas_gesture_hotspot_get(Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd) 31_efl_canvas_gesture_hotspot_get(const Eo *obj EINA_UNUSED, Efl_Canvas_Gesture_Data *pd)
32{ 32{
33 return pd->hotspot; 33 return pd->hotspot;
34} 34}