summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-04 17:49:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-04 17:49:59 +0300
commita2bfd50be766b3303f3e8dead3b42d16c60f6081 (patch)
tree9b1e8ab888c2c45350369c132df180a1fb63c975 /src/gui
parent4b2cb3433c82ba4ba28be8de82e0a49df7f3e388 (diff)
downloadmanaplus-a2bfd50be766b3303f3e8dead3b42d16c60f6081.tar.gz
manaplus-a2bfd50be766b3303f3e8dead3b42d16c60f6081.tar.bz2
manaplus-a2bfd50be766b3303f3e8dead3b42d16c60f6081.tar.xz
manaplus-a2bfd50be766b3303f3e8dead3b42d16c60f6081.zip
Fix code style and compilation warnings.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/setupitem.cpp4
-rw-r--r--src/gui/widgets/vertcontainer.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setupitem.cpp b/src/gui/setupitem.cpp
index e41e9357d..e4f112068 100644
--- a/src/gui/setupitem.cpp
+++ b/src/gui/setupitem.cpp
@@ -498,10 +498,10 @@ void SetupItemLabel::toWidget()
{
}
-void SetupItemLabel::action(const gcn::ActionEvent &event)
+void SetupItemLabel::action(const gcn::ActionEvent &event _UNUSED_)
{
}
-void SetupItemLabel::apply(std::string eventName)
+void SetupItemLabel::apply(std::string eventName _UNUSED_)
{
}
diff --git a/src/gui/widgets/vertcontainer.cpp b/src/gui/widgets/vertcontainer.cpp
index 9920c7210..3dd258ad3 100644
--- a/src/gui/widgets/vertcontainer.cpp
+++ b/src/gui/widgets/vertcontainer.cpp
@@ -74,7 +74,7 @@ void VertContainer::clear()
void VertContainer::widgetResized(const gcn::Event &event _UNUSED_)
{
for (std::vector<gcn::Widget*>::iterator it = mResizableWidgets.begin();
- it != mResizableWidgets.end(); it++)
+ it != mResizableWidgets.end(); ++ it)
{
(*it)->setWidth(getWidth());
}