From 1b1efab489353734f0047f97fe5fef7f96d0ee68 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 14 May 2002 19:28:34 +0000 Subject: compile with -Wall -W -pendantic when --enable-debug is set. --- src/Workspace.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Workspace.h') diff --git a/src/Workspace.h b/src/Workspace.h index 21e65cec..146e1d62 100644 --- a/src/Workspace.h +++ b/src/Workspace.h @@ -68,15 +68,15 @@ public: inline BScreen &getScreen(void) { return screen; } inline Clientmenu *getMenu(void) { return clientmenu; } inline const char *getName(void) const { return name; } - inline const int &getWorkspaceID(void) const { return id; } + inline int getWorkspaceID(void) const { return id; } inline OpenboxWindow *focusedWindow() { return _focused; } inline OpenboxWindow *lastFocusedWindow() { return _last; } void focusWindow(OpenboxWindow *win); OpenboxWindow *getWindow(int); - Bool isCurrent(void); - const int addWindow(OpenboxWindow *, Bool = False); - const int removeWindow(OpenboxWindow *); - const int getCount(void); + bool isCurrent(void); + int addWindow(OpenboxWindow *, bool = false); + int removeWindow(OpenboxWindow *); + int getCount(void); void showAll(void); void hideAll(void); void removeAll(void); -- cgit v1.2.3