/* Returns: a newly allocated string containing the requested identfier, or NULL if the #GVolume doesn't have this kind of identifier  */
char* g_volume_get_identifier(GVolume *volume, const char *kind)
/* Returns: a newly allocated string containing the requested identfier, or NULL if the #GVolume doesn't have this kind of identifier  */
char* g_volume_get_identifier(GVolume *volume, const char *kind)
{
  GVolumeIface *iface;
  g_return_val_if_fail (G_IS_VOLUME (volume), NULL);
  g_return_val_if_fail (kind != NULL, NULL);
  iface = G_VOLUME_GET_IFACE (volume);
  if (iface->get_identifier == NULL)
    return NULL;
  return (* iface->get_identifier) (volume, kind);
}