summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_smart.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/edje/edje_smart.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/edje/edje_smart.c')
-rw-r--r--src/lib/edje/edje_smart.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index fa5efe1..3608fdc 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -398,7 +398,7 @@ _efl_canvas_layout_efl_file_mmap_set(Eo *obj, Edje *pd EINA_UNUSED,
398} 398}
399 399
400EOLIAN static void 400EOLIAN static void
401_efl_canvas_layout_efl_file_mmap_get(Eo *obj EINA_UNUSED, Edje *pd, 401_efl_canvas_layout_efl_file_mmap_get(const Eo *obj EINA_UNUSED, Edje *pd,
402 const Eina_File **f, const char **key) 402 const Eina_File **f, const char **key)
403{ 403{
404 if (f) *f = pd->file ? pd->file->f : NULL; 404 if (f) *f = pd->file ? pd->file->f : NULL;
@@ -485,7 +485,7 @@ _efl_canvas_layout_efl_observer_update(Eo *obj EINA_UNUSED, Edje *ed, Efl_Object
485} 485}
486 486
487EOLIAN Eina_Bool 487EOLIAN Eina_Bool
488_efl_canvas_layout_efl_player_playable_get(Eo *obj EINA_UNUSED, Edje *pd EINA_UNUSED) 488_efl_canvas_layout_efl_player_playable_get(const Eo *obj EINA_UNUSED, Edje *pd EINA_UNUSED)
489{ 489{
490 return EINA_TRUE; 490 return EINA_TRUE;
491} 491}
@@ -528,7 +528,7 @@ _efl_canvas_layout_efl_player_play_set(Eo *obj EINA_UNUSED, Edje *ed, Eina_Bool
528} 528}
529 529
530EOLIAN Eina_Bool 530EOLIAN Eina_Bool
531_efl_canvas_layout_efl_player_play_get(Eo *obj EINA_UNUSED, Edje *ed) 531_efl_canvas_layout_efl_player_play_get(const Eo *obj EINA_UNUSED, Edje *ed)
532{ 532{
533 if (!ed) return EINA_FALSE; 533 if (!ed) return EINA_FALSE;
534 if (ed->delete_me) return EINA_FALSE; 534 if (ed->delete_me) return EINA_FALSE;
@@ -545,7 +545,7 @@ _efl_canvas_layout_efl_player_play_speed_set(Eo *obj EINA_UNUSED, Edje *pd , dou
545} 545}
546 546
547EOLIAN double 547EOLIAN double
548_efl_canvas_layout_efl_player_play_speed_get(Eo *obj EINA_UNUSED, Edje *pd) 548_efl_canvas_layout_efl_player_play_speed_get(const Eo *obj EINA_UNUSED, Edje *pd)
549{ 549{
550 return 1.0/pd->duration_scale; 550 return 1.0/pd->duration_scale;
551} 551}