Edje: fix returned value
authorcaro <caro>
Fri, 14 Sep 2012 08:01:30 +0000 (08:01 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 14 Sep 2012 08:01:30 +0000 (08:01 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@76647 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_util.c

index 442d88e..b9a6d88 100644 (file)
@@ -5188,7 +5188,7 @@ void
 _edje_real_part_swallow_clear(Edje_Real_Part *rp)
 {
    if ((rp->type != EDJE_RP_TYPE_SWALLOW) ||
-       (!rp->typedata.swallow)) return NULL;
+       (!rp->typedata.swallow)) return;
    if (!rp->typedata.swallow->swallowed_object) return;
    evas_object_smart_member_del(rp->typedata.swallow->swallowed_object);
    evas_object_event_callback_del_full(rp->typedata.swallow->swallowed_object,