]> Dogcows Code - chaz/openbox/commitdiff
rm a XXX.. comment it out :)
authorDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 08:20:30 +0000 (08:20 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 3 Feb 2003 08:20:30 +0000 (08:20 +0000)
src/bindings.cc
src/bindings.hh
src/python.cc

index fcbff769f5e4945506d5460784f5a144c74ccdca..df1de3ecaa4032f848a998c749c76620c217c4e2 100644 (file)
@@ -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)
 {
index d120ffc0110f4797e86ff1bb0a429f65643c2ea0..772b2a40840f57e009609f02b236019a8235c05c 100644 (file)
@@ -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();
index 27434074700d3360b9a888dba71375091ee97c34..84cfff291a7abb5ca8e310678ad47332cbb2bc77 100644 (file)
@@ -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()
 {
This page took 0.027565 seconds and 4 git commands to generate.