remove unnecessary call to evas_object_data_get during gadget deletion

This commit is contained in:
Mike Blumenkrantz 2013-05-23 11:16:00 +01:00
parent 36bdc32757
commit 5ac0b9df10
1 changed files with 2 additions and 3 deletions

View File

@ -3780,7 +3780,7 @@ _e_gadcon_layout_smart_disown(Evas_Object *obj)
E_Gadcon_Layout_Item *bi;
if (!obj) return;
bi = evas_object_data_get(obj, "e_gadcon_layout_data");
bi = evas_object_data_del(obj, "e_gadcon_layout_data");
if (!bi) return;
if (!bi->sd->items)
{
@ -3791,8 +3791,7 @@ _e_gadcon_layout_smart_disown(Evas_Object *obj)
_e_gadcon_layout_smart_item_del_hook);
evas_object_smart_member_del(obj);
evas_object_clip_unset(obj);
evas_object_data_del(obj, "e_gadcon_layout_data");
E_FREE(bi);
free(bi);
}
static void