summaryrefslogtreecommitdiffstats
path: root/src/splash-plugins/spinfinity/plugin.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-05-29 01:12:17 -0400
committerRay Strode <rstrode@redhat.com>2008-05-29 01:12:17 -0400
commit788359b9ece1076bf9d154b75b4d4c6ba1ee389f (patch)
tree5805bdcb3f4fb82644af77084feaae62a41d6546 /src/splash-plugins/spinfinity/plugin.c
parentcae6ca26f3b31ff88694a3ec72acc194b4b2d6ec (diff)
downloadplymouth-788359b9ece1076bf9d154b75b4d4c6ba1ee389f.tar.gz
plymouth-788359b9ece1076bf9d154b75b4d4c6ba1ee389f.tar.xz
plymouth-788359b9ece1076bf9d154b75b4d4c6ba1ee389f.zip
Change throbber to take window instead of framebuffer
We want the throbber to know about the window it's in, so that it will be easier to move drawing code to a draw handler model
Diffstat (limited to 'src/splash-plugins/spinfinity/plugin.c')
-rw-r--r--src/splash-plugins/spinfinity/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/splash-plugins/spinfinity/plugin.c b/src/splash-plugins/spinfinity/plugin.c
index 1022292..4bc8774 100644
--- a/src/splash-plugins/spinfinity/plugin.c
+++ b/src/splash-plugins/spinfinity/plugin.c
@@ -189,7 +189,7 @@ start_animation (ply_boot_splash_plugin_t *plugin)
height = throbber_get_height (plugin->throbber);
throbber_start (plugin->throbber,
plugin->loop,
- plugin->frame_buffer,
+ plugin->window,
area.width / 2.0 - width / 2.0,
area.width / 2.0 - height / 2.0);
}