Fix a warning caused by a missing const
authorMike Gorse <mgorse@novell.com>
Tue, 3 Jan 2012 02:17:18 +0000 (20:17 -0600)
committerMike Gorse <mgorse@novell.com>
Tue, 3 Jan 2012 02:17:18 +0000 (20:17 -0600)
atk-adaptor/event.c

index ef6b964..6cf19fa 100644 (file)
@@ -424,7 +424,7 @@ signal_is_needed (const gchar *klass, const gchar *major, const gchar *minor)
 /* Convert a : to a / so that listeners can use arg0path to match only
  *  * the prefix */
 static char *
 /* Convert a : to a / so that listeners can use arg0path to match only
  *  * the prefix */
 static char *
-adapt_minor_for_dbus (char *source)
+adapt_minor_for_dbus (const char *source)
 {
   gchar *ret = g_strdup (source);
   int i = strcspn (ret, ":");
 {
   gchar *ret = g_strdup (source);
   int i = strcspn (ret, ":");