Author: mordante
Date: Sat Aug 23 15:44:32 2008
New Revision: 28875
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28875&view=rev
Log:
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.
Modified:
trunk/src/game_events.cpp
Modified: trunk/src/game_events.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=28875&r1=28874&r2=28875&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Sat Aug 23 15:44:32 2008
@@ -1918,7 +1918,6 @@
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 @@
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
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits