aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario J. Rugiero <mrugiero@gmail.com>2014-12-20 04:00:50 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-05-01 08:46:21 (GMT)
commit9667d538eb88b19e2e73484b69499dfd3f39a729 (patch)
tree542db61cb7c10ddef76057a0dc5fe069557e7aa5
parent7e17056c352fa691e1f552634a3cedccea1d9d98 (diff)
downloadfluxbox-9667d538eb88b19e2e73484b69499dfd3f39a729.zip
fluxbox-9667d538eb88b19e2e73484b69499dfd3f39a729.tar.bz2
Make Layer::getLayerNum() const.
-rw-r--r--src/FbTk/Layer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Layer.hh b/src/FbTk/Layer.hh
index 536ce00..ed28ec6 100644
--- a/src/FbTk/Layer.hh
+++ b/src/FbTk/Layer.hh
@@ -43,7 +43,7 @@ public:
43 //typedef std::list<LayerItem *>::reverse_iterator reverse_iterator; 43 //typedef std::list<LayerItem *>::reverse_iterator reverse_iterator;
44 44
45 void setLayerNum(int layernum) { m_layernum = layernum; }; 45 void setLayerNum(int layernum) { m_layernum = layernum; };
46 int getLayerNum() { return m_layernum; }; 46 int getLayerNum() const { return m_layernum; };
47 // Put all items on the same layer (called when layer item added to) 47 // Put all items on the same layer (called when layer item added to)
48 void alignItem(LayerItem &item); 48 void alignItem(LayerItem &item);
49 int countWindows(); 49 int countWindows();