/* Returns: TRUE if the @volume can be ejected. FALSE otherwise  */
gboolean g_volume_can_eject(GVolume *volume)
/* Returns: TRUE if the @volume can be ejected. FALSE otherwise  */
gboolean g_volume_can_eject(GVolume *volume)
{
  GVolumeIface *iface;
  g_return_val_if_fail (G_IS_VOLUME (volume), FALSE);
  iface = G_VOLUME_GET_IFACE (volume);
  if (iface->can_eject == NULL)
    return FALSE;
  return (* iface->can_eject) (volume);
}