diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2007-12-29 21:38:53 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2007-12-29 21:38:53 (GMT) |
commit | e1f362ae764884a4cd1e1673292cb37d5a85f89c (patch) | |
tree | 137430b26aee6f3638f27281d3757c2c75ef4b20 /src/FbTk/IntMenuItem.hh | |
parent | e90c3678d9e54bc9251619fdee2d7341f042167b (diff) | |
download | fluxbox-e1f362ae764884a4cd1e1673292cb37d5a85f89c.zip fluxbox-e1f362ae764884a4cd1e1673292cb37d5a85f89c.tar.bz2 |
'inline' in class declaration is implicitly inline
Diffstat (limited to 'src/FbTk/IntMenuItem.hh')
-rw-r--r-- | src/FbTk/IntMenuItem.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/IntMenuItem.hh b/src/FbTk/IntMenuItem.hh index 6246787..a1431fb 100644 --- a/src/FbTk/IntMenuItem.hh +++ b/src/FbTk/IntMenuItem.hh | |||
@@ -35,7 +35,7 @@ public: | |||
35 | IntMenuItem(const FbTk::FbString &label, Accessor<int> &res, | 35 | IntMenuItem(const FbTk::FbString &label, Accessor<int> &res, |
36 | int min_val, int max_val, FbTk::Menu &host_menu) : | 36 | int min_val, int max_val, FbTk::Menu &host_menu) : |
37 | FbTk::MenuItem(label, host_menu), m_org_label(FbTk::MenuItem::label()), | 37 | FbTk::MenuItem(label, host_menu), m_org_label(FbTk::MenuItem::label()), |
38 | m_max(max_val), m_min(min_val), m_res(res) { | 38 | m_max(max_val), m_min(min_val), m_res(res) { |
39 | updateLabel(); | 39 | updateLabel(); |
40 | setCloseOnClick(false); | 40 | setCloseOnClick(false); |
41 | } | 41 | } |
@@ -77,7 +77,7 @@ public: | |||
77 | updateLabel(); | 77 | updateLabel(); |
78 | // call other commands | 78 | // call other commands |
79 | FbTk::MenuItem::click(button, time, mods); | 79 | FbTk::MenuItem::click(button, time, mods); |
80 | 80 | ||
81 | // show new value, which for us means forcing a full menu update | 81 | // show new value, which for us means forcing a full menu update |
82 | // since the text is drawn onto the background! | 82 | // since the text is drawn onto the background! |
83 | if (menu()) { | 83 | if (menu()) { |