diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-03 21:48:11 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-03 21:48:11 +0000 |
| commit | a9a5f0d7510be5dbf8ae1db99e6c1c01035503d9 (patch) | |
| tree | c4b093cf724738033dddcf5101dbeef03e1d7b78 /src/python.cc | |
| parent | a0350e27b311db5cab49035752d3852ee68bf8a2 (diff) | |
put event bindings in OBBindings too
Diffstat (limited to 'src/python.cc')
| -rw-r--r-- | src/python.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python.cc b/src/python.cc index 4bddce8f..e5224921 100644 --- a/src/python.cc +++ b/src/python.cc @@ -455,7 +455,7 @@ PyObject *ebind(ob::EventAction action, PyObject *func) return NULL; } - if (!ob::Openbox::instance->actions()->bind(action, func)) { + if (!ob::Openbox::instance->bindings()->addEvent(action, func)) { PyErr_SetString(PyExc_RuntimeError,"Unable to add binding."); return NULL; } |
