Index: tomboykeybinder.c =================================================================== --- tomboykeybinder.c (revision 1214) +++ tomboykeybinder.c (working copy) @@ -237,7 +237,7 @@ NULL); } -void +gboolean tomboy_keybinder_bind (const char *keystring, TomboyBindkeyHandler handler, gpointer user_data) @@ -259,6 +259,7 @@ g_free (binding->keystring); g_free (binding); } + return success; } void Index: _keybinder.defs =================================================================== --- _keybinder.defs (revision 1214) +++ _keybinder.defs (working copy) @@ -7,7 +7,7 @@ (define-function tomboy_keybinder_bind (c-name "tomboy_keybinder_bind") - (return-type "none") + (return-type "gboolean") (parameters '("const-char*" "keystring") '("TomboyBindkeyHandler" "handler") Index: tomboykeybinder.h =================================================================== --- tomboykeybinder.h (revision 1214) +++ tomboykeybinder.h (working copy) @@ -10,7 +10,7 @@ void tomboy_keybinder_init (void); -void tomboy_keybinder_bind (const char *keystring, +gboolean tomboy_keybinder_bind (const char *keystring, TomboyBindkeyHandler handler, gpointer user_data);