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


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

Header


Content

Posted by shadowm2006 on March 01, 2009 - 16:28:
Author: shadowmaster
Date: Sun Mar  1 16:28:41 2009
New Revision: 33235

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33235&view=rev
Log:
Remove the [debug_message] event-WML tag handler. This tag was deprecated in 
1.5.8 and scheduled for removal in 1.5.10.

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=33235&r1=33234&r2=33235&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Sun Mar  1 16:28:41 2009
@@ -2045,16 +2045,6 @@
                lg::wml_error << message << '\n';
        }
 
-       /** @deprecated Use [wml_message]. */
-       WML_HANDLER_FUNCTION(debug_message,/*handler*/,/*event_info*/,cfg)
-       {
-               lg::wml_error << "[debug_message] is deprecated and will be 
removed in 1.5.10; use [wml_message] with the 'wml' logdomain instead" << 
'\n';
-               const std::string& logger = cfg["logger"];
-               const std::string msg = cfg["message"];
-
-               put_wml_message(logger,msg);
-       }
-
        WML_HANDLER_FUNCTION(wml_message,/*handler*/,/*event_info*/,cfg)
        {
                const std::string& logger = cfg["logger"];




Related Messages


Powered by MHonArc, Updated Sun Mar 01 16:40:05 2009