]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[progress-animation] Fix call to remove_frames
authorRay Strode <rstrode@redhat.com>
Sat, 2 May 2009 04:34:52 +0000 (00:34 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 20 May 2009 21:00:28 +0000 (17:00 -0400)
ply-progress-animation was passing in the frames directly instead of the
progress object

src/libplybootsplash/ply-progress-animation.c

index 79d3a753597b5f6481b8b276c8b9e5d8f71fe524..3c006deaa045e4d55806d5f15f88af6bf683c7fd 100644 (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;