From: Rajeev Ranjan Date: Thu, 10 Jun 2010 01:40:20 +0000 (+0900) Subject: [elm_softkey.c] removed call to evas_object_smart_member_del as already calling X-Git-Tag: beat-winset-test_0.1.1-40~271^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21386346e0c9850da2c29820d9c229857f9ae6bf;p=framework%2Fuifw%2Felementary.git [elm_softkey.c] removed call to evas_object_smart_member_del as already calling evas_object_del for the object. --- diff --git a/src/lib/elm_softkey.c b/src/lib/elm_softkey.c index 5a1fe0f..1fe539b 100755 --- a/src/lib/elm_softkey.c +++ b/src/lib/elm_softkey.c @@ -139,7 +139,6 @@ static void _del_hook(Evas_Object *obj) return; if (wd->lay) { - evas_object_smart_member_del(wd->lay); evas_object_del(wd->lay); wd->lay = NULL; } @@ -148,14 +147,12 @@ static void _del_hook(Evas_Object *obj) for (i = 0; i < 2; i++) { btn = wd->button[i]; if (btn != NULL) { - evas_object_smart_member_del(btn); _delete_button(btn); } } /* delete background */ if (wd->bg_rect) { - evas_object_smart_member_del(wd->bg_rect); evas_object_del(wd->bg_rect); wd->bg_rect = NULL; } @@ -164,8 +161,7 @@ static void _del_hook(Evas_Object *obj) if (wd->panel) { elm_softkey_panel_del(obj); //panel); - evas_object_del(wd->panel); + /*evas_object_del(wd->panel); wd->panel = NULL;*/ //button[type] = NULL; } @@ -1169,7 +1163,6 @@ EAPI int elm_softkey_panel_del(Evas_Object *obj) evas_object_move(wd->panel, 0, wd->win_h); evas_object_clip_unset(wd->panel); // - evas_object_smart_member_del(wd->panel); evas_object_del(wd->panel); wd->panel = NULL; //