diff options
author | mathias <mathias> | 2004-12-13 14:03:17 (GMT) |
---|---|---|
committer | mathias <mathias> | 2004-12-13 14:03:17 (GMT) |
commit | eb42a7806d0af854cc4bdfa8f194a0bb67446153 (patch) | |
tree | 5a8a22b0705ee927a16265f1a754159835fb22d9 /src/SendToMenu.cc | |
parent | 7c7dfbfbddc635faaabb87fa755925fbb66d89dd (diff) | |
download | fluxbox_pavel-eb42a7806d0af854cc4bdfa8f194a0bb67446153.zip fluxbox_pavel-eb42a7806d0af854cc4bdfa8f194a0bb67446153.tar.bz2 |
icc complaint about a "possible" conflict between the
FbTk::Menu::update(Subject*) and FbTk::Menu::update(int index)
to avoid this, we rename FbTk::Menu::update(int index)
-> FbTk::Menu::updateMenu(int index)
this is mostly cosmetic, but if it makes the life of a compiler happy, well ..
be happy icc :)
Diffstat (limited to 'src/SendToMenu.cc')
-rw-r--r-- | src/SendToMenu.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SendToMenu.cc b/src/SendToMenu.cc index c071495..2bdf7e3 100644 --- a/src/SendToMenu.cc +++ b/src/SendToMenu.cc | |||
@@ -61,7 +61,7 @@ SendToMenu::SendToMenu(FluxboxWindow &win): | |||
61 | 61 | ||
62 | disableTitle(); | 62 | disableTitle(); |
63 | // build menu | 63 | // build menu |
64 | update(0); | 64 | updateMenu(0); |
65 | } | 65 | } |
66 | 66 | ||
67 | void SendToMenu::update(FbTk::Subject *subj) { | 67 | void SendToMenu::update(FbTk::Subject *subj) { |
@@ -75,7 +75,7 @@ void SendToMenu::update(FbTk::Subject *subj) { | |||
75 | setItemEnabled(i, true); | 75 | setItemEnabled(i, true); |
76 | // disable send to on the workspace which the window exist | 76 | // disable send to on the workspace which the window exist |
77 | setItemEnabled(m_win.workspaceNumber(), false); | 77 | setItemEnabled(m_win.workspaceNumber(), false); |
78 | FbMenu::update(); | 78 | updateMenu(); |
79 | // we're done | 79 | // we're done |
80 | return; | 80 | return; |
81 | } else if (subj == &(theme().reconfigSig())) { | 81 | } else if (subj == &(theme().reconfigSig())) { |
@@ -98,5 +98,5 @@ void SendToMenu::update(FbTk::Subject *subj) { | |||
98 | 98 | ||
99 | setItemEnabled(m_win.workspaceNumber(), false); | 99 | setItemEnabled(m_win.workspaceNumber(), false); |
100 | 100 | ||
101 | FbMenu::update(); | 101 | updateMenu(); |
102 | } | 102 | } |