diff options
Diffstat (limited to 'src/gui/window.h')
-rw-r--r-- | src/gui/window.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/window.h b/src/gui/window.h index 44128f1d..530caf1f 100644 --- a/src/gui/window.h +++ b/src/gui/window.h @@ -112,7 +112,7 @@ class Window : public gcn::Window, gcn::WidgetListener /** * Returns whether the window can be resized. */ - bool isResizable(); + bool isResizable() const; /** * Sets the minimum width of the window. @@ -227,7 +227,7 @@ class Window : public gcn::Window, gcn::WidgetListener /** * Returns the name of the window. This is not the window title. */ - const std::string &getWindowName() { return mWindowName; } + const std::string &getWindowName() const { return mWindowName; } /** * Reads the position (and the size for resizable windows) in the |