Use GDestroyNotify instead of custom type, for better introspectability

This commit is contained in:
Dan Winship
2009-03-25 10:50:40 -04:00
parent 3b864f8af5
commit 0e256a21a5
2 changed files with 3 additions and 5 deletions

View File

@ -3452,7 +3452,7 @@ gboolean
meta_keybindings_set_custom_handler (const gchar *name,
MetaKeyHandlerFunc handler,
gpointer user_data,
MetaKeyHandlerDataFreeFunc free_data)
GDestroyNotify free_data)
{
MetaKeyHandler *key_handler = find_handler (key_handlers, name);