From eb8234442e9135b10bc26a11ba2d6c8b4e1db2de Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 17 May 2002 11:55:41 +0000 Subject: more const --- src/BaseDisplay.cc | 4 ++-- src/BaseDisplay.hh | 4 ++-- src/Screen.hh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/BaseDisplay.cc b/src/BaseDisplay.cc index df07e2e..1006ed5 100644 --- a/src/BaseDisplay.cc +++ b/src/BaseDisplay.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: BaseDisplay.cc,v 1.13 2002/04/08 22:23:41 fluxgen Exp $ +// $Id: BaseDisplay.cc,v 1.14 2002/05/17 11:55:41 fluxgen Exp $ // use GNU extensions #ifndef _GNU_SOURCE @@ -322,7 +322,7 @@ void BaseDisplay::eventLoop(void) { } -const bool BaseDisplay::validateWindow(Window window) { +bool BaseDisplay::validateWindow(Window window) { XEvent event; if (XCheckTypedWindowEvent(m_display, window, DestroyNotify, &event)) { XPutBackEvent(m_display, &event); diff --git a/src/BaseDisplay.hh b/src/BaseDisplay.hh index aef2ee3..173749c 100644 --- a/src/BaseDisplay.hh +++ b/src/BaseDisplay.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: BaseDisplay.hh,v 1.20 2002/05/17 10:51:48 fluxgen Exp $ +// $Id: BaseDisplay.hh,v 1.21 2002/05/17 11:55:31 fluxgen Exp $ #ifndef BASEDISPLAY_HH #define BASEDISPLAY_HH @@ -99,7 +99,7 @@ public: inline void shutdown(void) { m_shutdown = true; } inline void run(void) { m_startup = m_shutdown = false; } - const bool validateWindow(Window); + bool validateWindow(Window); void grab(void); void ungrab(void); diff --git a/src/Screen.hh b/src/Screen.hh index a402c87..8ae34fe 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.hh,v 1.34 2002/05/17 11:02:30 fluxgen Exp $ +// $Id: Screen.hh,v 1.35 2002/05/17 11:55:02 fluxgen Exp $ #ifndef SCREEN_HH #define SCREEN_HH @@ -131,7 +131,7 @@ public: inline Icons &getIconList(void) { return iconList; } inline int getNumberOfWorkspaces(void) { return *resource.workspaces; } - inline const Toolbar::Placement getToolbarPlacement(void) { return *resource.toolbar_placement; } + inline Toolbar::Placement getToolbarPlacement(void) { return *resource.toolbar_placement; } #ifdef XINERAMA inline int getToolbarOnHead(void) { return *resource.toolbar_on_head; } #endif // XINERAMA -- cgit v0.11.2