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

GTK+ 3 installation not used by default by configure script #2393

Closed
paulmenzel opened this issue Nov 12, 2019 · 5 comments
Closed

GTK+ 3 installation not used by default by configure script #2393

paulmenzel opened this issue Nov 12, 2019 · 5 comments

Comments

@paulmenzel
Copy link
Contributor

I have to use --enable-gtk3 to built Geany with GTK+ 3.24.x. My understanding is, that if installed, it would be used over GTK+ 2 by default.

@lpaulsen93
Copy link
Contributor

IMHO the documentation at https://geany.org/manual/dev/hacking.html#gtk-versions-api-documentation sounds like GTK2 is the default.

@paulmenzel
Copy link
Contributor Author

True, but the description of the configure help text is confusing to me.

$ ./configure --help
[…]
  --enable-gtk3           compile against GTK3 [default=auto]
[…]

@b4n
Copy link
Member

b4n commented Nov 12, 2019

@paulmenzel The GTK version is automatically selected (it'll use the one you have), but is currently conservative towards GTK2 (if you have both, GTK2 will be selected).
The help text looks OK to me, and I'm not sure "default=yes if available and GTK2 is not available, no otherwise" would be an improvement. As for all options, if you really have a preference just set it explicitly (--enable-gtk3 or --enable-gtk3=yes).

@paulmenzel
Copy link
Contributor Author

For me the extended text would clear it up, but I know the answer now, so fine by me. Thank you for the explanations.

@elextr
Copy link
Member

elextr commented Nov 13, 2019

Not worth worrying, GTK2 will go away soon, (ducks) 😁

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

No branches or pull requests

4 participants