summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemlinkhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/itemlinkhandler.h')
-rw-r--r--src/gui/widgets/itemlinkhandler.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/gui/widgets/itemlinkhandler.h b/src/gui/widgets/itemlinkhandler.h
index 8dd2f62f5..bc3bdc51c 100644
--- a/src/gui/widgets/itemlinkhandler.h
+++ b/src/gui/widgets/itemlinkhandler.h
@@ -25,21 +25,16 @@
#include "gui/widgets/linkhandler.h"
-#ifdef __GNUC__
-#define A_UNUSED __attribute__ ((unused))
-#else
-#define A_UNUSED
-#endif
-
class ItemPopup;
class ItemLinkHandler : public LinkHandler
{
public:
ItemLinkHandler();
+
~ItemLinkHandler();
- void handleLink(const std::string &link,
- gcn::MouseEvent *event A_UNUSED);
+
+ void handleLink(const std::string &link, gcn::MouseEvent *event);
private:
ItemPopup *mItemPopup;