From: Ray Strode Date: Wed, 14 May 2008 04:13:26 +0000 (-0400) Subject: move detach_from_event_loop function up higher in file X-Git-Tag: 0.1.0~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0f4639a70807af0b77f8a36823fda01d48cb3e4;p=thirdparty%2Fplymouth.git move detach_from_event_loop function up higher in file --- diff --git a/src/splash-plugins/fedora-fade-in/fedora-fade-in.c b/src/splash-plugins/fedora-fade-in/fedora-fade-in.c index c8a3f608..7051a384 100644 --- a/src/splash-plugins/fedora-fade-in/fedora-fade-in.c +++ b/src/splash-plugins/fedora-fade-in/fedora-fade-in.c @@ -474,6 +474,14 @@ update_status (ply_boot_splash_plugin_t *plugin, add_star (plugin); } +static void +detach_from_event_loop (ply_boot_splash_plugin_t *plugin) +{ + plugin->loop = NULL; + + set_text_mode (plugin); +} + void hide_splash_screen (ply_boot_splash_plugin_t *plugin) { @@ -485,14 +493,6 @@ hide_splash_screen (ply_boot_splash_plugin_t *plugin) ply_frame_buffer_close (plugin->frame_buffer); } -static void -detach_from_event_loop (ply_boot_splash_plugin_t *plugin) -{ - plugin->loop = NULL; - - set_text_mode (plugin); -} - void attach_to_event_loop (ply_boot_splash_plugin_t *plugin, ply_event_loop_t *loop)