From 37c82e306cd0ff0d8cf9bc0280c2e6ff512f3f33 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Sat, 21 Aug 2010 17:01:30 -0400 Subject: [PATCH] [two-step] Don't crash if throbber is unavailable While the code took some steps to make the throbber optional, it missed conditionalizing usage of the throbber in the exit path. --- src/plugins/splash/two-step/plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/splash/two-step/plugin.c b/src/plugins/splash/two-step/plugin.c index 0945af62..30b0d9e1 100644 --- a/src/plugins/splash/two-step/plugin.c +++ b/src/plugins/splash/two-step/plugin.c @@ -731,7 +731,8 @@ stop_animation (ply_boot_splash_plugin_t *plugin, ply_progress_animation_hide (view->progress_animation); if (trigger != NULL) ply_trigger_ignore_next_pull (trigger); - ply_throbber_stop (view->throbber, trigger); + if (view->throbber != NULL) + ply_throbber_stop (view->throbber, trigger); ply_animation_stop (view->end_animation); node = next_node;