diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-03 06:55:04 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-03 06:55:04 +0000 |
| commit | 7db3ffecc980821ada3e805e2471716896e2410a (patch) | |
| tree | f34e6b615325ac998351ffc574dde9dc3f4c92bf /src/bindings.hh | |
| parent | 165601550c205d6159a41146c38c5a30884f75e7 (diff) | |
you can bind buttons already about, and itll replace them
Diffstat (limited to 'src/bindings.hh')
| -rw-r--r-- | src/bindings.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings.hh b/src/bindings.hh index 5d1df29b..1ca46df7 100644 --- a/src/bindings.hh +++ b/src/bindings.hh @@ -52,9 +52,9 @@ typedef struct KeyBindingTree { typedef struct ButtonBinding { Binding binding; - typedef std::list<PyObject*> CallbackList; - CallbackList callback[NUM_MOUSE_ACTION]; + PyObject *callback[NUM_MOUSE_ACTION]; ButtonBinding() : binding(0, 0) { + for(int i=0; i<NUM_MOUSE_ACTION; ++i) callback[i] = 0; } }; |
