summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-30 19:00:15 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-30 19:00:15 +0200
commitfd3e5dc97f06e54220a2c5b65980dd6adc2c5555 (patch)
tree204e2445390797f1ea8751e7f1f7d242884f154d /src/gui.c
parenta17d4c1934b008b9aa8a2d7cf085cfe76a690d9a (diff)
downloadvim-fd3e5dc97f06e54220a2c5b65980dd6adc2c5555.zip
Add a few #ifdefs to exclude functions that are not used. (Domnique Pelle)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui.c b/src/gui.c
index fab312fd3..33f7844e0 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -3908,6 +3908,7 @@ gui_drag_scrollbar(sb, value, still_dragging)
* 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)