Skip to content

Conversation

@michaelgregorius
Copy link
Contributor

Use CountInstruments and GetInstrument instead of the deprecated methods GetFirstInstrument and GetNextInstrument.

Use CountRegions and GetRegionAt instead of the deprecated GetFirstRegion and GetNextRegion.

Both changes turn while loops into for loops.

Use `CountInstruments` and `GetInstrument` instead of the deprecated
methods `GetFirstInstrument` and `GetNextInstrument`.

Use `CountRegions` and `GetRegionAt` instead of the deprecated
`GetFirstRegion` and `GetNextRegion`.

Both changes turn `while` loops into `for` loops.
@michaelgregorius
Copy link
Contributor Author

Ok, now I have found out why this was never fixed. It looks like the Linux and mingw builds use older versions of libgig.

@Rossmaxx
Copy link
Contributor

In #7162, similar deprecations are fixed using a temporary method, which i believe would suit this PR too. But that PR happens to have gone stale as the original author left. I did take over that one but stopped using windows since. I will get around to completing it but can't tell when.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants