keybindings: Use proper enum type in MetaKeyHandler

This simplifies inspecting runtime state using gdb.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2714>
This commit is contained in:
Jonas Ådahl 2022-04-27 12:13:20 +02:00 committed by Marge Bot
parent 990a10fe78
commit ec82b6e869

View File

@ -39,7 +39,8 @@ struct _MetaKeyHandler
char *name;
MetaKeyHandlerFunc func;
MetaKeyHandlerFunc default_func;
gint data, flags;
int data;
MetaKeyBindingFlags flags;
gpointer user_data;
GDestroyNotify user_data_free_func;
};