Mercurial > vim
changeset 8397:1e58a938aafc v7.4.1490
commit https://github.com/vim/vim/commit/2369c15407cf9a730a396ebf9709abb280c5ce48
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 4 23:08:25 2016 +0100
patch 7.4.1490
Problem: Compiler warning for unused function.
Solution: Add #ifdef. (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 04 Mar 2016 23:15:05 +0100 |
parents | 8c7a66667857 |
children | 3d307af63e17 |
files | src/gui_gtk_x11.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 /*