mail[Wesnoth-commits] r28875 - /trunk/src/game_events.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on August 23, 2008 - 15:59:
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




Related Messages


Powered by MHonArc, Updated Sat Aug 23 16:02:01 2008