On Thu, 21 Apr 2022, Hisashi T Fujinaka wrote:
On Thu, 21 Apr 2022, Bram Moolenaar wrote:
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?
Seemed odd to me too, but that's where I ended up with git bisect. I can
retry the bisection if you'd like.
OK, looks like it's the NEXT commit.
git bisect bad
9f53e7bd7f0865585a5447fa3665c5d4c4f91408 is the first bad commit
commit 9f53e7bd7f0865585a5447fa3665c5d4c4f91408
Author: Ernie Rael <[email protected]>
Date: Sun Apr 17 18:27:49 2022 +0100
patch 8.2.4776: GTK: 'lines' and 'columns' may change during startup
Problem: GTK: 'lines' and 'columns' may change during startup.
Solution: Ignore stale GTK resize events. (Ernie Rael, closes #10179)
src/gui_gtk_x11.c | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
src/version.c | 2 +
2 files changed, 164 insertions(+), 6 deletions(-)
--
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/3721d2f6-95a7-650e-055a-056c12cef58b%40twofifty.com.