summaryrefslogtreecommitdiff
path: root/src/lib/elm_radio.c
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-09-25 13:33:39 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-09-25 13:34:27 +0900
commitfe23d6e522008246a1c90d228c35f37f8bf865c5 (patch)
tree42c09197e433c069e025ee2501192c8f73b3f27c /src/lib/elm_radio.c
parentbac98dd0e1e39e465fac43c9a7fecc726e0d4c12 (diff)
downloadelementary-fe23d6e522008246a1c90d228c35f37f8bf865c5.tar.gz
elementary: update to new eo_parent_get/set API.
Diffstat (limited to 'src/lib/elm_radio.c')
-rw-r--r--src/lib/elm_radio.c3
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!");