aboutsummaryrefslogtreecommitdiff
path: root/src/Basemenu.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-03-27 18:47:12 (GMT)
committerfluxgen <fluxgen>2002-03-27 18:47:12 (GMT)
commit14cd008c76663fc010d7fc97c76cf694b69f8f86 (patch)
tree9e69cb568281f038b904dc06aad3d49102511082 /src/Basemenu.cc
parent0f270ee38f48fd58809155cf865e8ede068087a1 (diff)
downloadfluxbox-14cd008c76663fc010d7fc97c76cf694b69f8f86.zip
fluxbox-14cd008c76663fc010d7fc97c76cf694b69f8f86.tar.bz2
fixed getIconName in addIcon
Diffstat (limited to 'src/Basemenu.cc')
-rw-r--r--src/Basemenu.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Basemenu.cc b/src/Basemenu.cc
index 22e8886..71bc66d 100644
--- a/src/Basemenu.cc
+++ b/src/Basemenu.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: Basemenu.cc,v 1.15 2002/03/23 15:14:45 fluxgen Exp $ 25// $Id: Basemenu.cc,v 1.16 2002/03/27 18:47:12 fluxgen Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -224,7 +224,7 @@ int Basemenu::insert(const char *label, Basemenu *submenu, int pos) {
224 return menuitems.size(); 224 return menuitems.size();
225} 225}
226 226
227 227/*
228int Basemenu::insert(const char **ulabel, int pos, int function) { 228int Basemenu::insert(const char **ulabel, int pos, int function) {
229 assert(ulabel); 229 assert(ulabel);
230 BasemenuItem *item = new BasemenuItem(*ulabel, function); 230 BasemenuItem *item = new BasemenuItem(*ulabel, function);
@@ -236,7 +236,7 @@ int Basemenu::insert(const char **ulabel, int pos, int function) {
236 236
237 return menuitems.size(); 237 return menuitems.size();
238} 238}
239 239*/
240 240
241int Basemenu::remove(unsigned int index) { 241int Basemenu::remove(unsigned int index) {
242 if (index >= menuitems.size()) { 242 if (index >= menuitems.size()) {