summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/widgetlistener.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/include/guichan/widgetlistener.hpp')
-rw-r--r--src/guichan/include/guichan/widgetlistener.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/guichan/include/guichan/widgetlistener.hpp b/src/guichan/include/guichan/widgetlistener.hpp
index eb1f838ec..159549ede 100644
--- a/src/guichan/include/guichan/widgetlistener.hpp
+++ b/src/guichan/include/guichan/widgetlistener.hpp
@@ -50,9 +50,9 @@
#include "guichan/platform.hpp"
#ifdef __GNUC__
-#define _UNUSED_ __attribute__ ((unused))
+#define A_UNUSED __attribute__ ((unused))
#else
-#define _UNUSED_
+#define A_UNUSED
#endif
namespace gcn
@@ -81,7 +81,7 @@ namespace gcn
* @param event Describes the event.
* @since 0.8.0
*/
- virtual void widgetResized(const Event& event _UNUSED_) { }
+ virtual void widgetResized(const Event& event A_UNUSED) { }
/**
* Invoked when a widget is moved.
@@ -89,7 +89,7 @@ namespace gcn
* @param event Describes the event.
* @since 0.8.0
*/
- virtual void widgetMoved(const Event& event _UNUSED_) { }
+ virtual void widgetMoved(const Event& event A_UNUSED) { }
/**
* Invoked when a widget is hidden, i.e it's set to be
@@ -98,7 +98,7 @@ namespace gcn
* @param event Describes the event.
* @since 0.8.0
*/
- virtual void widgetHidden(const Event& event _UNUSED_) { }
+ virtual void widgetHidden(const Event& event A_UNUSED) { }
/**
* Invoked when a widget is shown, i.e it's set to be
@@ -107,7 +107,7 @@ namespace gcn
* @param event Describes the event.
* @since 0.8.0
*/
- virtual void widgetShown(const Event& event _UNUSED_) { }
+ virtual void widgetShown(const Event& event A_UNUSED) { }
protected:
/**