summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-03 08:20:30 +0000
committerDana Jansens <danakj@orodu.net>2003-02-03 08:20:30 +0000
commit4147215afa51dd79cbc474a79478deff4ca9ad71 (patch)
tree2c190cbbace85391207dab980e3c014dc926414f /src
parent0571837e50a15b61be008b55973f0ada069d4f77 (diff)
rm a XXX.. comment it out :)
Diffstat (limited to 'src')
-rw-r--r--src/bindings.cc5
-rw-r--r--src/bindings.hh12
-rw-r--r--src/python.cc2
3 files changed, 10 insertions, 9 deletions
diff --git a/src/bindings.cc b/src/bindings.cc
index fcbff769..df1de3ec 100644
--- a/src/bindings.cc
+++ b/src/bindings.cc
@@ -241,7 +241,6 @@ bool Bindings::addKey(const StringVect &keylist, PyObject *callback)
if (t) {
// already bound to something
- // XXX: look if callback is already bound to this key?
t->callbacks.push_back(callback);
destroytree(tree);
} else {
@@ -261,7 +260,7 @@ bool Bindings::addKey(const StringVect &keylist, PyObject *callback)
return true;
}
-
+/*
bool Bindings::removeKey(const StringVect &keylist, PyObject *callback)
{
assert(false); // XXX: function not implemented yet
@@ -295,7 +294,7 @@ bool Bindings::removeKey(const StringVect &keylist, PyObject *callback)
}
return false;
}
-
+*/
void Bindings::setResetKey(const std::string &key)
{
diff --git a/src/bindings.hh b/src/bindings.hh
index d120ffc0..772b2a40 100644
--- a/src/bindings.hh
+++ b/src/bindings.hh
@@ -103,12 +103,12 @@ public:
*/
bool addKey(const StringVect &keylist, PyObject *callback);
- //! Removes a key binding
- /*!
- @return The callbackid of the binding, or '< 0' if there was no binding to
- be removed.
- */
- bool removeKey(const StringVect &keylist, PyObject *callback);
+ ////! Removes a key binding
+ ///*!
+ // @return The callbackid of the binding, or '< 0' if there was no binding to
+ // be removed.
+ //*/
+ //bool removeKey(const StringVect &keylist, PyObject *callback);
//! Removes all key bindings
void removeAllKeys();
diff --git a/src/python.cc b/src/python.cc
index 27434074..84cfff29 100644
--- a/src/python.cc
+++ b/src/python.cc
@@ -189,6 +189,7 @@ PyObject *kbind(PyObject *keylist, ob::KeyContext::KC context, PyObject *func)
Py_INCREF(Py_None); return Py_None;
}
+/*
PyObject *kunbind(PyObject *keylist, PyObject *func)
{
if (!PyList_Check(keylist)) {
@@ -217,6 +218,7 @@ PyObject *kunbind(PyObject *keylist, PyObject *func)
}
Py_INCREF(Py_None); return Py_None;
}
+*/
void kunbind_all()
{