diff options
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. |