summaryrefslogtreecommitdiff
path: root/src/gui_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-22 21:34:09 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-22 21:34:09 +0200
commitb26e6327e69ed57c897d59183a4171c5eb979c19 (patch)
tree523c56a73826b7917ebe46580ce7936f86556aae /src/gui_x11.c
parent67c53844343011089e1b847200b5c5257a83e1c4 (diff)
downloadvim-git-b26e6327e69ed57c897d59183a4171c5eb979c19.tar.gz
Add :nbstart and :nbclose.
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r--src/gui_x11.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c
index 522f92336..8b3727293 100644
--- a/src/gui_x11.c
+++ b/src/gui_x11.c
@@ -710,7 +710,7 @@ gui_x11_resize_window_cb(w, dud, event, dum)
}
#endif
#if defined(FEAT_NETBEANS_INTG) && defined(FEAT_GUI_MOTIF)
- if (usingNetbeans)
+ if (netbeans_active())
{
XRectangle rec;
@@ -1253,7 +1253,6 @@ gui_mch_prepare(argc, argv)
#ifdef FEAT_NETBEANS_INTG
if (strncmp("-nb", argv[arg], 3) == 0)
{
- usingNetbeans++;
gui.dofork = FALSE; /* don't fork() when starting GUI */
netbeansArg = argv[arg];
mch_memmove(&argv[arg], &argv[arg + 1],