From 96da27ac90c430ce9f3df589035d50a9eb76ab2a Mon Sep 17 00:00:00 2001 From: "Ira W. Snyder" Date: Tue, 29 Jan 2008 00:03:08 -0800 Subject: [PATCH] [Keybinder] Silence many tomboykeybinder warnings 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomboykeybinder.h b/tomboykeybinder.h index 02b50ca..982a2ed 100644 --- a/tomboykeybinder.h +++ b/tomboykeybinder.h @@ -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); -- 2.25.1