[toolbar] fixed code for verification(ecore_job_add)

make a pair for job event, check the event is alive before adding event.
This commit is contained in:
Hosang Kim 2013-05-22 16:55:23 +09:00 committed by Daniel Juyung Seo
parent 893a36be40
commit 5eda949b8f
1 changed files with 2 additions and 2 deletions

View File

@ -736,8 +736,8 @@ _resize_cb(void *data,
evas_object_geometry_get(data, &x, &y, NULL, &h);
evas_object_move(sd->more, x, y + h);
if (!sd->resize_job)
sd->resize_job = ecore_job_add(_resize_job, data);
ELM_FREE_FUNC(sd->resize_job, ecore_job_del);
sd->resize_job = ecore_job_add(_resize_job, data);
}
static void