forked from enlightenment/efl
elm_flip.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended. For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
This commit is contained in:
parent
742fa688d8
commit
2bbc41d4ae
|
@ -1552,7 +1552,7 @@ _down_cb(void *data,
|
|||
|
||||
if (ev->button != 1) return;
|
||||
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
|
||||
ELM_FREE_FUNC(sd->animator, ecore_animator_del);
|
||||
ELM_SAFE_FREE(sd->animator, ecore_animator_del);
|
||||
sd->down = EINA_TRUE;
|
||||
sd->started = EINA_FALSE;
|
||||
evas_object_geometry_get(data, &x, &y, &w, &h);
|
||||
|
@ -1588,11 +1588,7 @@ _up_cb(void *data,
|
|||
sd->h = h;
|
||||
sd->ox = sd->x;
|
||||
sd->oy = sd->y;
|
||||
if (sd->job)
|
||||
{
|
||||
ecore_job_del(sd->job);
|
||||
sd->job = NULL;
|
||||
}
|
||||
ELM_SAFE_FREE(sd->job, ecore_job_del);
|
||||
sd->finish = EINA_FALSE;
|
||||
if (sd->dir == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue