[vim/vim] Fix link error with gtk2. (PR #20857)
"Rhialto The M." (Vim Github Repository) <[email protected]> Mon, 27 Jul 2026 10:17:01 -0700
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/pull/[email protected]> |
The function `gtk_widget_get_scale_factor()` doesn't exist for gtk2.
```
ld: objects/gui_gtk_x11.o: in function `gui_mch_init': gui_gtk_x11.c:(.text+0x33f1): undefined reference to `gtk_widget_get_scale_factor' link.sh: Linking failed
*** Error code 1
Stop.
```
You can view, comment on, or merge this pull request online at:
https://github.com/vim/vim/pull/20857
-- Commit Summary --
* Fix link error with gtk2.
-- File Changes --
M src/gui_gtk_x11.c (2)
-- Patch Links --
https://github.com/vim/vim/pull/20857.patch
https://github.com/vim/vim/pull/20857.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/20857
You are receiving this because you are subscribed to this thread.
Message ID: <vim/vim/pull/[email protected]>
--
--
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 visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/20857%40github.com.