aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 57d3a74..35cd20b 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Workspace.cc,v 1.19 2002/05/07 13:57:09 fluxgen Exp $ 25// $Id: Workspace.cc,v 1.20 2002/05/17 11:03:36 fluxgen Exp $
26 26
27// use GNU extensions 27// use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -77,7 +77,7 @@ Workspace::~Workspace() {
77} 77}
78 78
79 79
80const int Workspace::addWindow(FluxboxWindow *w, bool place) { 80int Workspace::addWindow(FluxboxWindow *w, bool place) {
81 if (! w) 81 if (! w)
82 return -1; 82 return -1;
83 83
@@ -127,8 +127,9 @@ const int Workspace::addWindow(FluxboxWindow *w, bool place) {
127} 127}
128 128
129 129
130const int Workspace::removeWindow(FluxboxWindow *w) { 130int Workspace::removeWindow(FluxboxWindow *w) {
131 if (! w) return -1; 131 if (! w)
132 return -1;
132 133
133 stackingList.remove(w); 134 stackingList.remove(w);
134 135
@@ -324,7 +325,7 @@ FluxboxWindow *Workspace::getWindow(unsigned int index) {
324} 325}
325 326
326 327
327const int Workspace::getCount(void) const { 328int Workspace::getCount(void) const {
328 return windowList.size(); 329 return windowList.size();
329} 330}
330 331