On Mon, 4 Jul 2022, Bram Moolenaar wrote:
patch 9.0.0033: on a Belgian keyboard CTRL-[ does not work
Problem: On a Belgian keyboard CTRL-[ does not work.
Solution: Handle GDK_KEY_dead_circumflex. (Anton Sharonov, closes #10658)
src/gui_gtk_x11.c | 26 ++++++++++++++++++++++++++
src/version.c | 2 ++
2 files changed, 28 insertions(+)
----
This breaks my build on MacOS X with gtk+2.
What is the error?
Can it be fixed with "#ifdef GDK_KEY_dead_circumflex" ?
Every time I try to file a complete report, I fail. Sorry about that.
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/opt/sw/include/gtk-2.0
-I/opt/sw/lib/gtk-2.0/include -I/opt/sw/include/gtk-2.0
-I/opt/sw/include/pango-1.0 -I/opt/sw/include/atk-1.0 -I/opt/sw/include/cairo
-I/opt/sw/include/pango-1.0 -I/opt/sw/include/glib-2.0
-I/opt/sw/lib/glib-2.0/include -I/opt/sw/include/freetype2 -I/opt/sw/include
-I/opt/X11/include -MD -I/opt/sw/include -DMACOS_X -g -O2 -I/opt/sw/include
-D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/X11/include -o
objects/gui_gtk_x11.o gui_gtk_x11.c
gui_gtk_x11.c:1250:32: error: use of undeclared identifier
'GDK_KEY_dead_circumflex'
if (len == 0 && key_sym == GDK_KEY_dead_circumflex)
^
1 error generated.
And I ifdef'ed out the code and it worked just fine.
--
Hisashi T Fujinaka - [email protected]
BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee
--
--
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/5a8380ea-7878-d9a1-329b-33cbeac6d3cc%40twofifty.com.