]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
move detach_from_event_loop function up higher in file
authorRay Strode <rstrode@redhat.com>
Wed, 14 May 2008 04:13:26 +0000 (00:13 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 14 May 2008 04:13:26 +0000 (00:13 -0400)
src/splash-plugins/fedora-fade-in/fedora-fade-in.c

index c8a3f608841ce1bf8a2aa320ab9c365e42531b8c..7051a3846c85e5d3df7cdab0f355164706f95f3c 100644 (file)
@@ -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)