Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added GTK 3.4 to older versions list #49

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dubcanada
Copy link

I added GTK 3.4 to the list. gtktest.rs won't compile on 3.4 due to the newer features being used. But when I commented them out it ran and looked fine. I asked in #rust and there does not seem to be any way to do #ifdef so you'd need to create version specific gtktest files or stub it.

@GuillaumeGomez
Copy link
Contributor

Well, I tested and it seems good to me. I'll wait for @jeremyletang to look at it before merging it.

@jeremyletang
Copy link
Owner

hi,
Sorry for the delay.

You should add #[cfg(GTK_3_4)] ... on the given widget in gtk/mod.rs and gtk/widget/mod.rs to don't build them if you exclude GTK 3.4 and ulterior version. You can see how it's made in the file for other versions for example.

After this change it should be okay to merge.

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.

3 participants