aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.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
commit29af5e1e439e0ea80840b71b3e5e8016aaea8fd9 (patch)
tree54842f10f03843fbc85f8345dcf3ea5dddfc2d3c /legacy/elementary/src/lib/elm_win.c
parentelm_widget.c: added comments for very confusable code. (diff)
downloadefl-29af5e1e439e0ea80840b71b3e5e8016aaea8fd9.tar.gz
elementary: update to new eo_parent_get/set API.
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 0e12e2b9b9..2b6924f41a 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -2764,13 +2764,15 @@ _win_constructor(Eo *obj, void *_pd, va_list *list)
const char *name = va_arg(*list, const char *);
Elm_Win_Type type = va_arg(*list, Elm_Win_Type);
- Evas_Object *parent = eo_parent_get(obj);
+ Evas_Object *parent;
Evas *e;
const Eina_List *l;
const char *fontpath, *fallback = NULL;
Elm_Win_Smart_Data tmp_sd;
+ eo_do(obj, eo_parent_get(&parent));
+
/* just to store some data while trying out to create a canvas */
memset(&tmp_sd, 0, sizeof(Elm_Win_Smart_Data));
@@ -2959,7 +2961,7 @@ _win_constructor(Eo *obj, void *_pd, va_list *list)
return;
}
- eo_parent_set(obj, ecore_evas_get(tmp_sd.ee));
+ eo_do(obj, eo_parent_set(ecore_evas_get(tmp_sd.ee)));
eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),