Various small fixes from Dominique Pelle.
diff --git a/src/netbeans.c b/src/netbeans.c
index e674fd8..00c7ce2 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -3494,7 +3494,7 @@
 }
 #endif /* FEAT_GUI_MOTIF */
 
-#ifdef FEAT_GUI_GTK
+#if defined(FEAT_GUI_GTK) && !defined(PROTO)
 /*
  * We have multiple signs to draw at the same location. Draw the
  * multi-sign indicator instead. This is the GTK/Gnome version.