Author: mordante
Date: Sat Mar  5 14:54:32 2011
New Revision: 48758

URL: http://svn.gna.org/viewcvs/wesnoth?rev=48758&view=rev
Log:
Rename REGISTER_WND to REGISTER_WINDOW.

Modified:
    trunk/src/gui/dialogs/dialog.hpp
    trunk/src/gui/dialogs/tip.cpp

Modified: trunk/src/gui/dialogs/dialog.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/dialogs/dialog.hpp?rev=48758&r1=48757&r2=48758&view=diff
==============================================================================
--- trunk/src/gui/dialogs/dialog.hpp (original)
+++ trunk/src/gui/dialogs/dialog.hpp Sat Mar  5 14:54:32 2011
@@ -34,14 +34,11 @@
  * @note Most of the time you want to call @ref REGISTER_DIALOG instead of this
  * function. It also directly adds the code for the dialog's id function.
  *
- * @todo Rename the function to its full name once the old name has been unused
- * for a while.
- *
  * @param id                      Id of the window, multiple dialogs can use
  *                                the same window so the id doesn't need to be
  *                                unique.
  */
-#define REGISTER_WND(                                                      \
+#define REGISTER_WINDOW(                                                   \
                  id)                                                           
   \
 namespace {                                                                \
                                                                            \
@@ -81,7 +78,7 @@
                  type                                                          
   \
                , id)                                                           
   \
                                                                            \
-REGISTER_WND(id)                                                           \
+REGISTER_WINDOW(id)                                                        \
                                                                            \
 const std::string&                                                         \
 type::window_id() const                                                    \

Modified: trunk/src/gui/dialogs/tip.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/dialogs/tip.cpp?rev=48758&r1=48757&r2=48758&view=diff
==============================================================================
--- trunk/src/gui/dialogs/tip.cpp (original)
+++ trunk/src/gui/dialogs/tip.cpp Sat Mar  5 14:54:32 2011
@@ -55,7 +55,7 @@
  * @end{table}
  */
 
-REGISTER_WND(tooltip_large)
+REGISTER_WINDOW(tooltip_large)
 
 /**
  * Class to show the tips.


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

Reply via email to