okay okay I'll even make sure it compiles

SVN revision: 64827
This commit is contained in:
Mike Blumenkrantz 2011-11-06 15:29:20 +00:00
parent a3e2a4547e
commit e9e8911d44
1 changed files with 6 additions and 1 deletions

View File

@ -136,7 +136,12 @@ _item_content_set_hook(Elm_Gen_Item *it, const char *part, Evas_Object *content)
static Evas_Object *
_item_content_unset_hook(Elm_Gen_Item *it, const char *part)
{
return edje_object_part_unswallow(VIEW(it), part);
Evas_Object *obj;
obj = edje_object_part_swallow_get(VIEW(it), part);
if (!obj) return NULL;
edje_object_part_unswallow(VIEW(it), obj);
return obj;
}
#if 0