gui_T::dpy, gui_T::wid and others not used by gtk version of vim.

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/gui.h b/src/gui.h
--- a/src/gui.h
+++ b/src/gui.h
@@ -342,6 +342,8 @@
     guicolor_T	scroll_def_fg_pixel;  /* Default scrollbar foreground */
     guicolor_T	scroll_def_bg_pixel;  /* Default scrollbar background */
 # endif
+
+# ifndef FEAT_GUI_GTK
     Display	*dpy;		    /* X display */
     Window	wid;		    /* Window id of text area */
     int		visibility;	    /* Is shell partially/fully obscured? */
@@ -361,7 +363,8 @@
 
     char_u	*geom;		    /* Geometry, eg "80x24" */
     Bool	color_approx;	    /* Some color was approximated */
-#endif
+# endif /* FEAT_GUI_GTK */
+#endif /* FEAT_GUI_X11 */
 
 #ifdef FEAT_GUI_GTK
     int		visibility;	    /* Is shell partially/fully obscured? */

Raspunde prin e-mail lui