diff options
Diffstat (limited to 'src/lib/elm_radio.c')
-rw-r--r-- | src/lib/elm_radio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_radio.c b/src/lib/elm_radio.c index d29543ad2..a3e7173d3 100644 --- a/src/lib/elm_radio.c +++ b/src/lib/elm_radio.c @@ -275,8 +275,7 @@ _elm_radio_smart_add(Eo *obj, void *_pd, va_list *list EINA_UNUSED) Elm_Widget_Smart_Data *wd = eo_data_scope_get(obj, ELM_OBJ_WIDGET_CLASS); eo_do_super(obj, MY_CLASS, evas_obj_smart_add()); - - elm_widget_sub_object_add(eo_parent_get(obj), obj); + elm_widget_sub_object_parent_add(obj); if (!elm_layout_theme_set(obj, "radio", "base", elm_widget_style_get(obj))) CRITICAL("Failed to set layout!"); |