Hi

I see the following compilation warning:

gui_gtk_x11.c:1824:1: warning: ‘gui_gtk_window_at_position’ defined
but not used [-Wunused-function]
 gui_gtk_window_at_position(GtkWidget *widget,
 ^

It's reproducible with:

  $ ./configure --with-features=small --enable-gui=gtk3
  $ make

Attached patch fixes it.

Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index cd8cc60..d43191c 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
 
 /*

Raspunde prin e-mail lui