> After this commit I get this error: > > gui_gtk_x11.c:4139:14: error: implicit declaration of function > 'gdk_window_get_width' is invalid in C99 [-Werror,-Wimplicit-function > -declaration] > int w = gdk_window_get_width(win); > ^ > gui_gtk_x11.c:4140:14: error: implicit declaration of function > 'gdk_window_get_height' is invalid in C99 [-Werror,-Wimplicit-functio > n-declaration] > int h = gdk_window_get_height(win); > ^ > gui_gtk_x11.c:4140:14: note: did you mean 'gdk_window_get_origin'? > /opt/sw/include/gtk-2.0/gdk/gdkwindow.h:541:12: note: 'gdk_window_get_origin' > declared here > gint gdk_window_get_origin (GdkWindow *window, > ^ > 2 errors generated. > > The Bisect looks like this: > > %git bisect good > 280aebfd356c4fc8b84f13314068411157ad72f2 is the first bad commit > commit 280aebfd356c4fc8b84f13314068411157ad72f2 > Author: Bram Moolenaar <[email protected]> > Date: Sun Apr 17 17:34:42 2022 +0100 > > patch 8.2.4775: SpellBad highlighting does not work in Konsole > > Problem: SpellBad highlighting does not work in Konsole. > Solution: Do not keep t_8u defined for Konsole. Redraw when t_8u is > reset. > (closes #10177) > > src/term.c | 13 ++++++++++--- > src/version.c | 2 ++ > 2 files changed, 12 insertions(+), 3 deletions(-)
That patch doesn't change anything for the gui_gtk_x11.c file or what could be related to the error. The declarations should be in gdk/gdkwindow.h. Don't see a problem with that. Perhaps configure didn't run correctly? -- If you put seven of the most talented OSS developers in a room and ask them to fix a bug in a spreadsheet program, in one week you'd have 2 new mail readers and a text-based web browser. /// 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/20220421191806.3FDF01C0330%40moolenaar.net.
