/* Returns: TRUE if the @drive can be ejected, FALSE otherwise.  */
gboolean g_drive_can_eject(GDrive *drive)
/* Returns: TRUE if the @drive can be ejected, FALSE otherwise.  */
gboolean g_drive_can_eject(GDrive *drive)
{
  GDriveIface *iface;
  g_return_val_if_fail (G_IS_DRIVE (drive), FALSE);
  iface = G_DRIVE_GET_IFACE (drive);
  if (iface->can_eject == NULL)
    return FALSE;
  return (* iface->can_eject) (drive);
}