summaryrefslogtreecommitdiff
path: root/src/lib/elm_toolbar.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-19 13:34:07 +0100
committerTom Hacohen <tom@stosb.com>2015-05-20 13:03:28 +0100
commita96fb467a291a59e7b78ccb4126654a664f01ee4 (patch)
tree772e66d76e5832205525aaf0ceb778df50a1c48d /src/lib/elm_toolbar.c
parentdbefa817f60190fac699c80453e5a1644875db0a (diff)
Adjust usage of eo_constructor() according to recent changes.
Diffstat (limited to 'src/lib/elm_toolbar.c')
-rw-r--r--src/lib/elm_toolbar.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 0087a0a43..609878d23 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -2300,12 +2300,14 @@ _access_widget_item_register(Elm_Toolbar_Item_Data *it)
2300 _elm_access_activate_callback_set(ai, _access_activate_cb, NULL); 2300 _elm_access_activate_callback_set(ai, _access_activate_cb, NULL);
2301} 2301}
2302 2302
2303EOLIAN static void 2303EOLIAN static Eo *
2304_elm_toolbar_item_eo_base_constructor(Eo *eo_it, Elm_Toolbar_Item_Data *it) 2304_elm_toolbar_item_eo_base_constructor(Eo *eo_it, Elm_Toolbar_Item_Data *it)
2305{ 2305{
2306 eo_do_super(eo_it, ELM_TOOLBAR_ITEM_CLASS, eo_constructor()); 2306 eo_it = eo_do_super_ret(eo_it, ELM_TOOLBAR_ITEM_CLASS, eo_it, eo_constructor());
2307 it->base = eo_data_scope_get(eo_it, ELM_WIDGET_ITEM_CLASS); 2307 it->base = eo_data_scope_get(eo_it, ELM_WIDGET_ITEM_CLASS);
2308 eo_do(eo_it, elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_MENU_ITEM)); 2308 eo_do(eo_it, elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_MENU_ITEM));
2309
2310 return eo_it;
2309} 2311}
2310 2312
2311static Elm_Toolbar_Item_Data * 2313static Elm_Toolbar_Item_Data *
@@ -2921,14 +2923,16 @@ elm_toolbar_add(Evas_Object *parent)
2921 return obj; 2923 return obj;
2922} 2924}
2923 2925
2924EOLIAN static void 2926EOLIAN static Eo *
2925_elm_toolbar_eo_base_constructor(Eo *obj, Elm_Toolbar_Data *_pd EINA_UNUSED) 2927_elm_toolbar_eo_base_constructor(Eo *obj, Elm_Toolbar_Data *_pd EINA_UNUSED)
2926{ 2928{
2927 eo_do_super(obj, MY_CLASS, eo_constructor()); 2929 obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
2928 eo_do(obj, 2930 eo_do(obj,
2929 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 2931 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
2930 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks), 2932 evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
2931 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TOOL_BAR)); 2933 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TOOL_BAR));
2934
2935 return obj;
2932} 2936}
2933 2937
2934EOLIAN static void 2938EOLIAN static void