From 5cbd0d2cb7086fda592c00dbc3b07d06af95f080 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 30 Aug 2012 22:53:27 +0300 Subject: Add const to more classes. --- src/gui/widgets/tab.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/tab.h') diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h index 829689543..0907379d0 100644 --- a/src/gui/widgets/tab.h +++ b/src/gui/widgets/tab.h @@ -54,12 +54,12 @@ class Tab : public gcn::Tab, public gcn::WidgetListener /** * Set the normal color fo the tab's text. */ - void setTabColor(const gcn::Color *color); + void setTabColor(const gcn::Color *const color); /** * Set tab flashing state */ - void setFlash(int flash); + void setFlash(const int flash); int getFlash() const { return mFlash; } @@ -68,7 +68,7 @@ class Tab : public gcn::Tab, public gcn::WidgetListener void widgetMoved(const gcn::Event &event); - void setLabelFont(gcn::Font *font); + void setLabelFont(gcn::Font *const font); gcn::Label *getLabel() const { return mLabel; } -- cgit v1.2.3-70-g09d2