return;
if (wd->lay) {
- evas_object_smart_member_del(wd->lay);
evas_object_del(wd->lay);
wd->lay = NULL;
}
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;
}
if (wd->panel) {
elm_softkey_panel_del(obj);
//<Commenting as clean up for panel is being done in method elm_softkey_panel_del()
- /*evas_object_smart_member_del(wd->panel);
- evas_object_del(wd->panel);
+ /*evas_object_del(wd->panel);
wd->panel = NULL;*/
//<Commenting as clean up for panel is being done in method elm_softkey_panel_del()
}
it = evas_object_data_get(btn, "item_data");
free(it);
-
- evas_object_smart_member_del(btn);
_delete_button(btn);
wd->button[type] = NULL;
}
evas_object_move(wd->panel, 0, wd->win_h);
evas_object_clip_unset(wd->panel);
//<Added to delete the panel completely>
- evas_object_smart_member_del(wd->panel);
evas_object_del(wd->panel);
wd->panel = NULL;
//<Added to delete the panel completely>