Tony wrote:
> Under *setting-guifont*, in file runtime/doc/gui.txt (or
> $VIMRUNTIME/doc/gui.txt) line 1229
> there is
> if has("gui_gtk2")
> there should be
> if has("gui_gtk2") || has("gui_gtk3")
> otherwise the 'guifont' option will be given a wrong font name
> (selected by has("x11")) in gvim with GTK3 GUI.
It should then be possible to just check for "gui_gtk", that is an "or"
of "gui_gtk2" and "gui_gtk3".
There is a comment just below this:
" Also for GTK 1
I don't think this exists anymore, and we don't need to cover everything
in this example. It's also misleading, since the check for "gui_gtk2"
actually would also catch GTK 1.
--
Mrs Abbott: I'm a paediatrician.
Basil: Feet?
Mrs Abbott: Children.
Sybil: Oh, Basil!
Basil: Well, children have feet, don't they? That's how they move
around, my dear. You must take a look next time, it's most
interesting. (Fawlty Towers)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20230429170201.C4C121C09E0%40moolenaar.net.