patch 7.4.1490
Problem: Compiler warning for unused function.
Solution: Add #ifdef. (Dominique Pelle)
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index cd8cc60..d43191c 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -1820,6 +1820,7 @@
return gdk_window_get_device_position(win, dev , x, y, state);
}
+# if defined(FEAT_GUI_TABLINE) || defined(PROTO)
static GdkWindow *
gui_gtk_window_at_position(GtkWidget *widget,
gint *x,
@@ -1828,6 +1829,7 @@
GdkDevice * const dev = gui_gtk_get_pointer_device(widget);
return gdk_device_get_window_at_position(dev, x, y);
}
+# endif
#endif
/*
diff --git a/src/version.c b/src/version.c
index 64d17fc..af39e7e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -744,6 +744,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1490,
+/**/
1489,
/**/
1488,