# HG changeset patch # User Christian Brabandt # Date 1457129705 -3600 # Node ID 1e58a938aafc5f1dbe1d0678c86fbdef50d124a3 # Parent 8c7a666678571c6786142ba37ea931ad2d1d3f09 commit https://github.com/vim/vim/commit/2369c15407cf9a730a396ebf9709abb280c5ce48 Author: Bram Moolenaar Date: Fri Mar 4 23:08:25 2016 +0100 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 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -1820,6 +1820,7 @@ gui_gtk_get_pointer(GtkWidget *wid 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 @@ gui_gtk_window_at_position(GtkWidget *wi 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 --- a/src/version.c +++ b/src/version.c @@ -744,6 +744,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1490, +/**/ 1489, /**/ 1488,