Store the default keybinding handler alongside the custom one.

This allows us to fall back onto it if the custom handler removes itself.
This commit is contained in:
Tomas Frydrych
2009-02-03 13:20:51 +00:00
parent 9dee164790
commit 6e543fbcfd
2 changed files with 18 additions and 7 deletions

View File

@ -36,6 +36,7 @@ typedef struct
{
const char *name;
MetaKeyHandlerFunc func;
MetaKeyHandlerFunc default_func;
gint data, flags;
gpointer user_data;
MetaKeyHandlerDataFreeFunc user_data_free_func;