Allow overriding actions inside a BindingPool
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 5 Jan 2009 12:49:01 +0000 (12:49 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 5 Jan 2009 12:49:01 +0000 (12:49 +0000)
commite56fe478ef9ae30584480827805e0dd6a8834e0b
treec90f69c5bb7dc1a0db75a9bbb1ca6194996be3d7
parent55a22d57507dbafbc99fdb01820d5a7f41404e36
Allow overriding actions inside a BindingPool

As of now, a key binding installed into a BindingPool is always there
and cannot be changed.

This is problematic for sub-classes trying to override the callback
or the action for a given key binding.

This commit adds the ability to override the closure for an existing
key binding inside a binding pool -- assumed the caller knows the
key symbol and modifiers used to install the key binding in the first
place.
clutter/clutter-binding-pool.c
clutter/clutter-binding-pool.h