Remove some no longer calls to gui2::init().

The new gui is already initialized on startup so no need do it at other
places anymore.
This commit is contained in:
Mark de Wever 2008-08-23 13:44:32 +00:00
parent 8cbc6a3d92
commit 86abe46280

View File

@ -1918,7 +1918,6 @@ namespace {
WML_HANDLER_FUNCTION(message_test_left,/*handler*/,event_info, cfg)
{
const std::string message = cfg["message"];
gui2::init();
gui2::twindow window = gui2::build((screen)->video(), "message_test_left");
// Use an ugly hack, if the spacer has the wanted best_size we use the
@ -1950,7 +1949,6 @@ namespace {
WML_HANDLER_FUNCTION(message_test_right,/*handler*/,event_info,cfg)
{
const std::string message = cfg["message"];
gui2::init();
gui2::twindow window = gui2::build((screen)->video(), "message_test_right");
// Use an ugly hack, if the spacer has the wanted best_size we use the