summaryrefslogtreecommitdiff
path: root/src/gui/widgets/icon.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-30 02:10:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-30 02:10:59 +0300
commit46f0755975033f37eaae9db73c0e2b6499c2a923 (patch)
tree5c13c361ce4a4e4fd0e07fca1953c54637965666 /src/gui/widgets/icon.h
parent1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (diff)
downloadmanaplus-46f0755975033f37eaae9db73c0e2b6499c2a923.tar.gz
manaplus-46f0755975033f37eaae9db73c0e2b6499c2a923.tar.bz2
manaplus-46f0755975033f37eaae9db73c0e2b6499c2a923.tar.xz
manaplus-46f0755975033f37eaae9db73c0e2b6499c2a923.zip
Add const to more classes.
Diffstat (limited to 'src/gui/widgets/icon.h')
-rw-r--r--src/gui/widgets/icon.h4
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.