Author: mordante
Date: Thu Apr 30 22:56:30 2009
New Revision: 35358
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35358&view=rev
Log:
Remove an unused parameter.
Modified:
trunk/src/gui/widgets/window.cpp
trunk/src/gui/widgets/window.hpp
Modified: trunk/src/gui/widgets/window.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window.cpp?rev=35358&r1=35357&r2=35358&view=diff
==============================================================================
--- trunk/src/gui/widgets/window.cpp (original)
+++ trunk/src/gui/widgets/window.cpp Thu Apr 30 22:56:30 2009
@@ -222,7 +222,7 @@
}
}
-int twindow::show(const bool restore, void* /*flip_function*/)
+int twindow::show(const bool restore)
{
log_scope2(log_gui_draw, "Window: show.");
Modified: trunk/src/gui/widgets/window.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window.hpp?rev=35358&r1=35357&r2=35358&view=diff
==============================================================================
--- trunk/src/gui/widgets/window.hpp (original)
+++ trunk/src/gui/widgets/window.hpp Thu Apr 30 22:56:30 2009
@@ -122,16 +122,11 @@
*
* @param restore Restore the screenarea the window was on
* after closing it?
- * @param flip_function If not NULL this function is used to do
the
- * flipping of the video buffer, otherwise
- * twindow::flip() is used. @todo Evaluate
- * whether this is still needed and if so
- * implement.
*
* @returns The close code of the window, predefined
* values are listed in tretval.
*/
- int show(const bool restore = true, void* flip_function = NULL);
+ int show(const bool restore = true);
/**
* Draws the window.
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits