summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elc_naviframe.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/elementary/elc_naviframe.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/elementary/elc_naviframe.c')
-rw-r--r--src/lib/elementary/elc_naviframe.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/elementary/elc_naviframe.c b/src/lib/elementary/elc_naviframe.c
index 7562235..3362efc 100644
--- a/src/lib/elementary/elc_naviframe.c
+++ b/src/lib/elementary/elc_naviframe.c
@@ -550,7 +550,7 @@ _elm_naviframe_item_elm_widget_item_part_text_set(Eo *eo_it,
550} 550}
551 551
552EOLIAN static const char * 552EOLIAN static const char *
553_elm_naviframe_item_elm_widget_item_part_text_get(Eo *nit EINA_UNUSED, 553_elm_naviframe_item_elm_widget_item_part_text_get(const Eo *nit EINA_UNUSED,
554 Elm_Naviframe_Item_Data *it, 554 Elm_Naviframe_Item_Data *it,
555 const char *part) 555 const char *part)
556{ 556{
@@ -879,7 +879,7 @@ _elm_naviframe_item_elm_widget_item_part_content_set(Eo *eo_nit EINA_UNUSED,
879} 879}
880 880
881EOLIAN static Evas_Object * 881EOLIAN static Evas_Object *
882_elm_naviframe_item_elm_widget_item_part_content_get(Eo *eo_nit EINA_UNUSED, 882_elm_naviframe_item_elm_widget_item_part_content_get(const Eo *eo_nit EINA_UNUSED,
883 Elm_Naviframe_Item_Data *nit, 883 Elm_Naviframe_Item_Data *nit,
884 const char *part) 884 const char *part)
885{ 885{
@@ -1855,13 +1855,13 @@ _elm_naviframe_content_preserve_on_pop_set(Eo *obj EINA_UNUSED, Elm_Naviframe_Da
1855} 1855}
1856 1856
1857EOLIAN static Eina_Bool 1857EOLIAN static Eina_Bool
1858_elm_naviframe_content_preserve_on_pop_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) 1858_elm_naviframe_content_preserve_on_pop_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd)
1859{ 1859{
1860 return sd->preserve; 1860 return sd->preserve;
1861} 1861}
1862 1862
1863EOLIAN static Elm_Object_Item* 1863EOLIAN static Elm_Object_Item*
1864_elm_naviframe_top_item_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) 1864_elm_naviframe_top_item_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd)
1865{ 1865{
1866 if (!sd->stack) return NULL; 1866 if (!sd->stack) return NULL;
1867 Elm_Naviframe_Item_Data *ret_it = EINA_INLIST_CONTAINER_GET 1867 Elm_Naviframe_Item_Data *ret_it = EINA_INLIST_CONTAINER_GET
@@ -1870,7 +1870,7 @@ _elm_naviframe_top_item_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd)
1870} 1870}
1871 1871
1872EOLIAN static Elm_Object_Item* 1872EOLIAN static Elm_Object_Item*
1873_elm_naviframe_bottom_item_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) 1873_elm_naviframe_bottom_item_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd)
1874{ 1874{
1875 if (!sd->stack) return NULL; 1875 if (!sd->stack) return NULL;
1876 Elm_Naviframe_Item_Data *ret_it = EINA_INLIST_CONTAINER_GET 1876 Elm_Naviframe_Item_Data *ret_it = EINA_INLIST_CONTAINER_GET
@@ -1950,7 +1950,7 @@ _elm_naviframe_item_pop_cb_set(Eo *eo_item EINA_UNUSED,
1950} 1950}
1951 1951
1952EOLIAN static Eina_List* 1952EOLIAN static Eina_List*
1953_elm_naviframe_item_efl_access_access_children_get(Eo *eo_item EINA_UNUSED, Elm_Naviframe_Item_Data *nit) 1953_elm_naviframe_item_efl_access_access_children_get(const Eo *eo_item EINA_UNUSED, Elm_Naviframe_Item_Data *nit)
1954{ 1954{
1955 Eina_List *ret = NULL; 1955 Eina_List *ret = NULL;
1956 1956
@@ -1965,13 +1965,13 @@ _elm_naviframe_prev_btn_auto_pushed_set(Eo *obj EINA_UNUSED, Elm_Naviframe_Data
1965} 1965}
1966 1966
1967EOLIAN static Eina_Bool 1967EOLIAN static Eina_Bool
1968_elm_naviframe_prev_btn_auto_pushed_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) 1968_elm_naviframe_prev_btn_auto_pushed_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd)
1969{ 1969{
1970 return sd->auto_pushed; 1970 return sd->auto_pushed;
1971} 1971}
1972 1972
1973EOLIAN static Eina_List* 1973EOLIAN static Eina_List*
1974_elm_naviframe_items_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) 1974_elm_naviframe_items_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd)
1975{ 1975{
1976 Eina_List *ret = NULL; 1976 Eina_List *ret = NULL;
1977 Elm_Naviframe_Item_Data *itr; 1977 Elm_Naviframe_Item_Data *itr;
@@ -1991,7 +1991,7 @@ _elm_naviframe_event_enabled_set(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd, Ei
1991} 1991}
1992 1992
1993EOLIAN static Eina_Bool 1993EOLIAN static Eina_Bool
1994_elm_naviframe_event_enabled_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd) 1994_elm_naviframe_event_enabled_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *sd)
1995{ 1995{
1996 return !sd->freeze_events; 1996 return !sd->freeze_events;
1997} 1997}
@@ -2003,7 +2003,7 @@ _elm_naviframe_class_constructor(Efl_Class *klass)
2003} 2003}
2004 2004
2005EOLIAN const Efl_Access_Action_Data * 2005EOLIAN const Efl_Access_Action_Data *
2006_elm_naviframe_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *pd EINA_UNUSED) 2006_elm_naviframe_efl_access_widget_action_elm_actions_get(const Eo *obj EINA_UNUSED, Elm_Naviframe_Data *pd EINA_UNUSED)
2007{ 2007{
2008 static Efl_Access_Action_Data atspi_actions[] = { 2008 static Efl_Access_Action_Data atspi_actions[] = {
2009 { "top_item_get", "top_item_get", NULL, _key_action_top_item_get }, 2009 { "top_item_get", "top_item_get", NULL, _key_action_top_item_get },