]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
use the configured colors for the gradient
authorWilliam Jon McCann <jmccann@redhat.com>
Wed, 4 Mar 2009 02:54:53 +0000 (21:54 -0500)
committerWilliam Jon McCann <jmccann@redhat.com>
Wed, 4 Mar 2009 02:54:53 +0000 (21:54 -0500)
Use the colors specified at configure time instead of
hard-coded values.

src/plugins/splash/fade-in/plugin.c

index 73318c54be32237fa12ba9ce3026d6c060a529c4..07ebfc578e76ed28a69cae0f875680fbd2cce990 100644 (file)
@@ -436,7 +436,8 @@ on_erase (ply_boot_splash_plugin_t *plugin,
   area.height = height;
 
   ply_frame_buffer_fill_with_gradient (plugin->frame_buffer, &area,
-                                       0x807c71, 0x3a362f);
+                                       PLYMOUTH_BACKGROUND_START_COLOR,
+                                       PLYMOUTH_BACKGROUND_END_COLOR);
 }
 
 void