Author: mordante
Date: Fri May 22 16:59:24 2009
New Revision: 35822

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35822&view=rev
Log:
Remove the unused function gui::show_error_message.

Modified:
    trunk/src/show_dialog.cpp
    trunk/src/show_dialog.hpp

Modified: trunk/src/show_dialog.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/show_dialog.cpp?rev=35822&r1=35821&r2=35822&view=diff
==============================================================================
--- trunk/src/show_dialog.cpp (original)
+++ trunk/src/show_dialog.cpp Fri May 22 16:59:24 2009
@@ -350,12 +350,6 @@
 namespace gui
 {
 
-void show_error_message(display &disp, std::string const &message)
-{
-       ERR_G << message << std::endl;
-       dialog(disp, _("Error"), message, OK_ONLY).show();
-}
-
 int show_dialog(display& screen, surface image,
                                const std::string& caption, const std::string& 
message,
                                DIALOG_TYPE type,

Modified: trunk/src/show_dialog.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/show_dialog.hpp?rev=35822&r1=35821&r2=35822&view=diff
==============================================================================
--- trunk/src/show_dialog.hpp (original)
+++ trunk/src/show_dialog.hpp Fri May 22 16:59:24 2009
@@ -199,8 +199,6 @@
                                menu::style* menu_style=NULL
                         );
 
-void show_error_message(display &disp, std::string const &message);
-
 void check_quit(CVideo &video);
 
 }


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to