[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.
This commit is contained in:
Ray Strode 2010-08-21 17:01:30 -04:00
parent 3d7f4fe441
commit 37c82e306c

View file

@ -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;