Clear gengrid Before deleting the pan object. (also, clear function

already deletes the calc job).



SVN revision: 50273
This commit is contained in:
Christopher Michael 2010-07-15 22:34:55 +00:00
parent 9793de8b33
commit d3656fc2b3
1 changed files with 1 additions and 2 deletions

View File

@ -224,10 +224,9 @@ _del_hook(Evas_Object *obj)
{
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
if (wd->calc_job) ecore_job_del(wd->calc_job);
elm_gengrid_clear(obj);
evas_object_del(wd->pan_smart);
wd->pan_smart = NULL;
elm_gengrid_clear(obj);
free(wd);
}