diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-04 23:08:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-04 23:08:25 +0100 |
commit | 2369c15407cf9a730a396ebf9709abb280c5ce48 (patch) | |
tree | ce889520fabd54b20f425eb0c47ba33d2cc01595 | |
parent | 0c171716c0430458741fbf18a6fd4baea4c0390b (diff) |
patch 7.4.1490v7.4.1490
Problem: Compiler warning for unused function.
Solution: Add #ifdef. (Dominique Pelle)
-rw-r--r-- | src/gui_gtk_x11.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index cd8cc60e1c..d43191cc3d 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -1820,6 +1820,7 @@ gui_gtk_get_pointer(GtkWidget *widget, 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 *widget, 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 64d17fc1c5..af39e7e958 100644 --- 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, |