From: Ira W. Snyder Date: Tue, 29 Jan 2008 08:03:08 +0000 (-0800) Subject: [Keybinder] Silence many tomboykeybinder warnings X-Git-Url: https://irasnyder.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=96da27ac90c430ce9f3df589035d50a9eb76ab2a;p=tilda-gobject.git [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. --- 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);