/* Virtual: truncate_fn Returns: TRUE if successful. If an error has occurred, this function will return FALSE and set @error appropriately if present.  */
gboolean g_seekable_truncate(GSeekable *seekable, goffset offset, GCancellable *cancellable, GError **error)
/* Virtual: truncate_fn Returns: TRUE if successful. If an error has occurred, this function will return FALSE and set @error appropriately if present.  */
gboolean g_seekable_truncate(GSeekable *seekable, goffset offset, GCancellable *cancellable, GError **error)
{
  GSeekableIface *iface;
  g_return_val_if_fail (G_IS_SEEKABLE (seekable), FALSE);
  iface = G_SEEKABLE_GET_IFACE (seekable);
  return (* iface->truncate_fn) (seekable, offset, cancellable, error);
}