diff src/gui.c @ 2237:770485470e59 vim73

Add a few #ifdefs to exclude functions that are not used. (Domnique Pelle)
author Bram Moolenaar <bram@vim.org>
date Sun, 30 May 2010 19:00:15 +0200
parents 8c6a66e2b3cc
children e4d849f4df03
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -3908,6 +3908,7 @@ gui_drag_scrollbar(sb, value, still_drag
  * Scrollbar stuff:
  */
 
+#if defined(FEAT_AUTOCMD) || defined(FEAT_WINDOWS) || defined(PROTO)
 /*
  * Called when something in the window layout has changed.
  */
@@ -3922,6 +3923,7 @@ gui_may_update_scrollbars()
     }
     need_mouse_correct = TRUE;
 }
+#endif
 
     void
 gui_update_scrollbars(force)