diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-30 02:10:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-30 02:10:59 +0300 |
commit | 46f0755975033f37eaae9db73c0e2b6499c2a923 (patch) | |
tree | 5c13c361ce4a4e4fd0e07fca1953c54637965666 /src/gui/widgets/icon.h | |
parent | 1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (diff) | |
download | mv-46f0755975033f37eaae9db73c0e2b6499c2a923.tar.gz mv-46f0755975033f37eaae9db73c0e2b6499c2a923.tar.bz2 mv-46f0755975033f37eaae9db73c0e2b6499c2a923.tar.xz mv-46f0755975033f37eaae9db73c0e2b6499c2a923.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/widgets/icon.h')
-rw-r--r-- | src/gui/widgets/icon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/icon.h b/src/gui/widgets/icon.h index 98fee314a..150f34576 100644 --- a/src/gui/widgets/icon.h +++ b/src/gui/widgets/icon.h @@ -43,7 +43,7 @@ class Icon : public gcn::Widget /** * Constructor, uses an existing Image. */ - Icon(Image *image); + Icon(Image *const image); /** * Gets the current Image. @@ -54,7 +54,7 @@ class Icon : public gcn::Widget /** * Sets the image to display. */ - void setImage(Image *image); + void setImage(Image *const image); /** * Draws the Icon. |