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 /src/gui_gtk_x11.c | |
parent | 0c171716c0430458741fbf18a6fd4baea4c0390b (diff) | |
download | vim-git-2369c15407cf9a730a396ebf9709abb280c5ce48.tar.gz |
patch 7.4.1490v7.4.1490
Problem: Compiler warning for unused function.
Solution: Add #ifdef. (Dominique Pelle)
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r-- | src/gui_gtk_x11.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index cd8cc60e1..d43191cc3 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 /* |