From 53e66b49069ad299b5b776fde3004ab730fd5aba Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Wed, 3 Apr 2002 23:08:19 +0000
Subject: removed int insert(const char **,...

---
 src/Basemenu.cc | 16 +---------------
 src/Basemenu.hh |  4 ++--
 2 files changed, 3 insertions(+), 17 deletions(-)

diff --git a/src/Basemenu.cc b/src/Basemenu.cc
index 71bc66d..cdb7ea2 100644
--- a/src/Basemenu.cc
+++ b/src/Basemenu.cc
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Basemenu.cc,v 1.16 2002/03/27 18:47:12 fluxgen Exp $
+// $Id: Basemenu.cc,v 1.17 2002/04/03 23:08:19 fluxgen Exp $
 
 //use GNU extensions
 #ifndef	 _GNU_SOURCE
@@ -224,20 +224,6 @@ int Basemenu::insert(const char *label, Basemenu *submenu, int pos) {
 	return menuitems.size();
 }
 
-/*
-int Basemenu::insert(const char **ulabel, int pos, int function) {
-	assert(ulabel);
-	BasemenuItem *item = new BasemenuItem(*ulabel, function);
-	if (pos == -1) {
-		menuitems.push_back(item);
-	} else {
-		menuitems.insert(menuitems.begin() + pos, item);
-	}
-
-	return menuitems.size();
-}
-*/
-
 int Basemenu::remove(unsigned int index) {
 	if (index >= menuitems.size()) {
 		#ifdef DEBUG
diff --git a/src/Basemenu.hh b/src/Basemenu.hh
index bfd27ca..f91e14f 100644
--- a/src/Basemenu.hh
+++ b/src/Basemenu.hh
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Basemenu.hh,v 1.10 2002/04/03 12:08:53 fluxgen Exp $
+// $Id: Basemenu.hh,v 1.11 2002/04/03 23:08:19 fluxgen Exp $
 
 #ifndef	 BASEMENU_HH
 #define	 BASEMENU_HH
@@ -54,7 +54,7 @@ public:
 	inline const char *getLabel(void) const { return menu.label; }
 
 	int insert(const char *, int = 0, const char * = 0, int = -1);
-	int insert(const char **, int = -1, int = 0);
+
 	int insert(const char *, Basemenu *, int = -1);
 	int remove(unsigned int item);
 
-- 
cgit v0.11.2