/* 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, ":");
return;
path = spi_register_object_to_path (spi_global_register, G_OBJECT (obj));
+ g_return_if_fail (path != NULL);
/*
* This is very annoying, but as '-' isn't a legal signal