Map: Correct broken migration.

The script failed migrating some code, so I needed to fix it manually.
This commit is contained in:
Tom Hacohen 2016-03-02 15:17:43 +00:00
parent d16aa5956b
commit 26ee9f0afb
1 changed files with 1 additions and 1 deletions

View File

@ -1209,7 +1209,7 @@ _zoom_animator_set(Elm_Map_Data *sd,
sd->zoom_animator = !!callback;
r = eo_event_callback_del(sd->obj, EFL_CORE_ANIMATOR_EVENT_ANIMATOR_TICK, _zoom_anim_cb, sd->obj);
r |= eo_event_callback_del(sd->obj, EFL_CORE_ANIMATOR_EVENT_ANIMATOR_TICK, _zoom_bring_anim_cb, sd->obj);
if (sd->obj, callback);
if (callback) eo_event_callback_add(sd->obj, EFL_CORE_ANIMATOR_EVENT_ANIMATOR_TICK, callback, sd->obj);
return r;
}