diff options
Diffstat (limited to 'src/Image.h')
| -rw-r--r-- | src/Image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Image.h b/src/Image.h index 5a542c16..e342128b 100644 --- a/src/Image.h +++ b/src/Image.h @@ -208,7 +208,7 @@ public: inline const Window &getDrawable(void) const { return window; } - inline Visual *getVisual(void) { return screeninfo.getVisual(); } + inline Visual *getVisual(void) const { return screeninfo.getVisual(); } inline const int &getBitsPerPixel(void) const { return bits_per_pixel; } inline const int &getDepth(void) const { return screen_depth; } |
