]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
seat: drop set_splash function
authorRay Strode <rstrode@redhat.com>
Sat, 28 Mar 2015 05:05:38 +0000 (01:05 -0400)
committerRay Strode <rstrode@redhat.com>
Sat, 28 Mar 2015 05:05:38 +0000 (01:05 -0400)
It's unused.

src/libply-splash-core/ply-seat.c
src/libply-splash-core/ply-seat.h

index 700332fc1b20559654f1099c1d655e2bbf803e3d..64751704a3bb875c17b93d8fdc32799de7ac4b6f 100644 (file)
@@ -283,22 +283,6 @@ ply_seat_close (ply_seat_t *seat)
         seat->renderer = NULL;
 }
 
-void
-ply_seat_set_splash (ply_seat_t        *seat,
-                     ply_boot_splash_t *splash)
-{
-        if (seat->splash == splash)
-                return;
-
-        if (seat->splash != NULL)
-                ply_boot_splash_detach_from_seat (splash, seat);
-
-        if (splash != NULL)
-                ply_boot_splash_attach_to_seat (splash, seat);
-
-        seat->splash = splash;
-}
-
 static void
 free_pixel_displays (ply_seat_t *seat)
 {
index f9ed15de5c4f163e30ecfcfe38aa1a08bea1f32d..f84355b0b28d253de723c35909750604c4869b0d 100644 (file)
@@ -27,7 +27,6 @@
 #include <stdint.h>
 #include <unistd.h>
 
-#include "ply-boot-splash.h"
 #include "ply-buffer.h"
 #include "ply-event-loop.h"
 #include "ply-keyboard.h"
@@ -53,8 +52,6 @@ void ply_seat_deactivate_renderer (ply_seat_t *seat);
 void ply_seat_activate_renderer (ply_seat_t *seat);
 void ply_seat_refresh_displays (ply_seat_t *seat);
 void ply_seat_close (ply_seat_t *seat);
-void ply_seat_set_splash (ply_seat_t        *seat,
-                          ply_boot_splash_t *splash);
 
 ply_list_t *ply_seat_get_pixel_displays (ply_seat_t *seat);
 ply_list_t *ply_seat_get_text_displays (ply_seat_t *seat);