updated for version 7.0027
diff --git a/src/gui_kde_x11.cc b/src/gui_kde_x11.cc
index 8956264..c8873ec 100644
--- a/src/gui_kde_x11.cc
+++ b/src/gui_kde_x11.cc
@@ -700,6 +700,7 @@
     return (GuiFont) myFont;
 }//}}}
 
+#if defined(FEAT_EVAL) || defined(PROTO)
 /*
  * Return the name of font "font" in allocated memory.
  * Don't know how to get the actual name, thus use the provided name.
@@ -711,6 +712,7 @@
 	return NULL;
     return vim_strsave(name);
 }//}}}
+#endif
 
 /*
  * Set the current text font.