diff options
author | Mario J. Rugiero <mrugiero@gmail.com> | 2014-12-20 04:00:50 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2015-05-01 08:46:21 (GMT) |
commit | 9667d538eb88b19e2e73484b69499dfd3f39a729 (patch) | |
tree | 542db61cb7c10ddef76057a0dc5fe069557e7aa5 /src | |
parent | 7e17056c352fa691e1f552634a3cedccea1d9d98 (diff) | |
download | fluxbox-9667d538eb88b19e2e73484b69499dfd3f39a729.zip fluxbox-9667d538eb88b19e2e73484b69499dfd3f39a729.tar.bz2 |
Make Layer::getLayerNum() const.
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/Layer.hh | 2 |
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(); |