diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2016-03-14 15:03:15 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2016-03-14 15:03:15 -0700 |
commit | 0cef757bf6e7984b490c6b3af0c74475d25b03fe (patch) | |
tree | 7415b0c4d7d17b91fe4f7f85b8e8850409b85be2 | |
parent | 5be93970feddb74feb6f132b89fb32cb5a4f118a (diff) | |
download | elementary-0cef757bf6e7984b490c6b3af0c74475d25b03fe.tar.gz |
web: fix breakage after roll over with eo_add change.
-rw-r--r-- | src/lib/elm_web2.c | 5 |
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 * |