summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemlinkhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-25 01:11:42 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-25 01:11:42 +0300
commit34a492ac70b3217937eafeb6db3cb9bfdc18fba9 (patch)
treecb3e079f7a830881f0b2810ed69557669704eb81 /src/gui/widgets/itemlinkhandler.h
parentb8e720a33502700b42569f152d63badd26d4a9b3 (diff)
downloadmv-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.tar.gz
mv-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.tar.bz2
mv-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.tar.xz
mv-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.zip
Move A_UNUSED define to include file.
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;