diff options
author | Ray Strode <rstrode@redhat.com> | 2008-06-27 15:03:11 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2008-06-27 15:03:11 -0400 |
commit | b95a46bf069608728f1e54322cc067610bc1e230 (patch) | |
tree | d354b45edf3ac160ffd721e84a01cee80d295c20 | |
parent | c46f2a10a707f3386d17aec9da0ab304615f8230 (diff) | |
download | plymouth-b95a46bf069608728f1e54322cc067610bc1e230.tar.gz plymouth-b95a46bf069608728f1e54322cc067610bc1e230.tar.xz plymouth-b95a46bf069608728f1e54322cc067610bc1e230.zip |
don't require window to be around at quit time
It's created on show-splash now, so it may not exist at quit time
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -199,8 +199,8 @@ on_quit (state_t *state) ply_trace ("hiding splash"); if (state->boot_splash != NULL) ply_boot_splash_hide (state->boot_splash); - - ply_window_set_mode (state->window, PLY_WINDOW_MODE_TEXT); + if (state->window != NULL) + ply_window_set_mode (state->window, PLY_WINDOW_MODE_TEXT); ply_trace ("exiting event loop"); ply_event_loop_exit (state->loop, 0); } |