[animation] Use default event loop

This commit is contained in:
Ray Strode 2009-09-23 17:38:05 -04:00
parent 0b763c61b4
commit 1b10da8890
3 changed files with 1 additions and 5 deletions

View file

@ -294,16 +294,14 @@ ply_animation_load (ply_animation_t *animation)
bool
ply_animation_start (ply_animation_t *animation,
ply_event_loop_t *loop,
ply_pixel_display_t *display,
ply_trigger_t *stop_trigger,
long x,
long y)
{
assert (animation != NULL);
assert (animation->loop == NULL);
animation->loop = loop;
animation->loop = ply_event_loop_get_default ();
animation->display = display;
animation->stop_trigger = stop_trigger;
animation->is_stopped = false;

View file

@ -39,7 +39,6 @@ void ply_animation_free (ply_animation_t *animation);
bool ply_animation_load (ply_animation_t *animation);
bool ply_animation_start (ply_animation_t *animation,
ply_event_loop_t *loop,
ply_pixel_display_t *display,
ply_trigger_t *stop_trigger,
long x,

View file

@ -290,7 +290,6 @@ view_start_end_animation (view_t *view,
y = plugin->animation_vertical_alignment * screen_height - height / 2.0;
ply_animation_start (view->end_animation,
plugin->loop,
view->display,
trigger, x, y);
}