aboutsummaryrefslogtreecommitdiffstats
path: root/legacy
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-03-14 15:03:15 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-03-14 15:03:15 -0700
commit73ea27f034eeba0121f62d93c332b503e5eca1fb (patch)
treee3b1a874fe0840075169fa96b76c637288a8edc8 /legacy
parentconfig: Fix wrong scroll config variables. (diff)
downloadefl-73ea27f034eeba0121f62d93c332b503e5eca1fb.tar.gz
web: fix breakage after roll over with eo_add change.
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_web2.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/legacy/elementary/src/lib/elm_web2.c b/legacy/elementary/src/lib/elm_web2.c
index 37d1d757f6..3f6e598317 100644
--- a/legacy/elementary/src/lib/elm_web2.c
+++ b/legacy/elementary/src/lib/elm_web2.c
@@ -76,12 +76,9 @@ elm_need_web(void)
EAPI Evas_Object *
elm_web_add(Evas_Object *parent)
{
- Evas_Object *obj;
-
if (!parent || !ewm.class_get) return NULL;
- eo_add(&obj, ewm.class_get(), parent);
- return obj;
+ return eo_add(ewm.class_get(), parent);
}
EOLIAN static Eo *