diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-26 00:27:05 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-26 00:32:19 +0100 |
commit | dfcc6397848d4597b386b688f689352de6c19ae2 (patch) | |
tree | a6e8c9afd6a49ea96e4498080a96d3e06ecaebd7 /src/gui/icon.h | |
parent | cd20fb3432498b8871401bdd65a143197e2a6538 (diff) | |
download | mana-dfcc6397848d4597b386b688f689352de6c19ae2.tar.gz mana-dfcc6397848d4597b386b688f689352de6c19ae2.tar.bz2 mana-dfcc6397848d4597b386b688f689352de6c19ae2.tar.xz mana-dfcc6397848d4597b386b688f689352de6c19ae2.zip |
Remove redundancy, fix variable names and other code cleanups
Diffstat (limited to 'src/gui/icon.h')
-rw-r--r-- | src/gui/icon.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/icon.h b/src/gui/icon.h index 9baf1a99..7435a6e7 100644 --- a/src/gui/icon.h +++ b/src/gui/icon.h @@ -27,13 +27,13 @@ class Image; - /** * An icon. * * \ingroup GUI */ -class Icon : public gcn::Widget { +class Icon : public gcn::Widget +{ public: /** * Constructor. @@ -48,7 +48,7 @@ class Icon : public gcn::Widget { /** * Gets the current Image. */ - Image* getImage() { return mImage; } + Image *getImage() const { return mImage; } /** * Sets the image to display. |