0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1490

Problem:    Compiler warning for unused function.
Solution:   Add #ifdef. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2016-03-04 23:08:25 +01:00
parent 0c171716c0
commit 2369c15407
2 changed files with 4 additions and 0 deletions

View File

@@ -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
/*