[Keybinder] Silence many tomboykeybinder warnings
authorIra W. Snyder <devel@irasnyder.com>
Tue, 29 Jan 2008 08:03:08 +0000 (00:03 -0800)
committerIra W. Snyder <devel@irasnyder.com>
Tue, 29 Jan 2008 08:03:08 +0000 (00:03 -0800)
The TomboyBindkeyHandler typedef in tomboykeybinder.h is missing
the const from the first parameter. This caused a number of warnings
on build, which were corrected by adding the const.

tomboykeybinder.h

index 02b50ca..982a2ed 100644 (file)
@@ -6,7 +6,7 @@
 
 G_BEGIN_DECLS
 
-typedef void (* TomboyBindkeyHandler) (gchar *keystring, gpointer user_data);
+typedef void (* TomboyBindkeyHandler) (const gchar *keystring, gpointer user_data);
 
 void tomboy_keybinder_init   (void);