aboutsummaryrefslogtreecommitdiffstats
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
commit0cef757bf6e7984b490c6b3af0c74475d25b03fe (patch)
tree7415b0c4d7d17b91fe4f7f85b8e8850409b85be2
parentconfig: Fix wrong scroll config variables. (diff)
downloadelementary-0cef757bf6e7984b490c6b3af0c74475d25b03fe.tar.gz
web: fix breakage after roll over with eo_add change.
-rw-r--r--src/lib/elm_web2.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/elm_web2.c b/src/lib/elm_web2.c
index 37d1d757f..3f6e59831 100644
--- a/src/lib/elm_web2.c
+++ b/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 *