[progress-animation] Fix call to remove_frames

ply-progress-animation was passing in the frames directly instead of the
progress object
This commit is contained in:
Ray Strode 2009-05-02 00:34:52 -04:00
parent 79baa323e6
commit 8be743e8cd

View file

@ -251,7 +251,7 @@ bool
ply_progress_animation_load (ply_progress_animation_t *progress_animation)
{
if (ply_array_get_size (progress_animation->frames) != 0)
ply_progress_animation_remove_frames (progress_animation->frames);
ply_progress_animation_remove_frames (progress_animation);
if (!ply_progress_animation_add_frames (progress_animation))
return false;