summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_grid.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/canvas/evas_object_grid.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/canvas/evas_object_grid.c')
-rw-r--r--src/lib/evas/canvas/evas_object_grid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_object_grid.c b/src/lib/evas/canvas/evas_object_grid.c
index fccc135..a8fdba8 100644
--- a/src/lib/evas/canvas/evas_object_grid.c
+++ b/src/lib/evas/canvas/evas_object_grid.c
@@ -311,7 +311,7 @@ _evas_grid_grid_size_set(Eo *o, Evas_Grid_Data *priv, int w, int h)
311} 311}
312 312
313EOLIAN static void 313EOLIAN static void
314_evas_grid_grid_size_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv, int *w, int *h) 314_evas_grid_grid_size_get(const Eo *o EINA_UNUSED, Evas_Grid_Data *priv, int *w, int *h)
315{ 315{
316 if (w) *w = priv->size.w; 316 if (w) *w = priv->size.w;
317 if (h) *h = priv->size.h; 317 if (h) *h = priv->size.h;
@@ -468,7 +468,7 @@ _evas_grid_accessor_new(const Eo *o, Evas_Grid_Data *priv)
468} 468}
469 469
470EOLIAN static Eina_List* 470EOLIAN static Eina_List*
471_evas_grid_children_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv) 471_evas_grid_children_get(const Eo *o EINA_UNUSED, Evas_Grid_Data *priv)
472{ 472{
473 Eina_List *new_list = NULL, *l; 473 Eina_List *new_list = NULL, *l;
474 Evas_Object_Grid_Option *opt; 474 Evas_Object_Grid_Option *opt;
@@ -480,7 +480,7 @@ _evas_grid_children_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv)
480} 480}
481 481
482EOLIAN static Eina_Bool 482EOLIAN static Eina_Bool
483_evas_grid_efl_ui_base_mirrored_get(Eo *o EINA_UNUSED, Evas_Grid_Data *priv) 483_evas_grid_efl_ui_base_mirrored_get(const Eo *o EINA_UNUSED, Evas_Grid_Data *priv)
484{ 484{
485 return priv->is_mirrored; 485 return priv->is_mirrored;
486} 486}