summaryrefslogtreecommitdiff
path: root/src/gui_kde_x11.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_kde_x11.cc')
-rw-r--r--src/gui_kde_x11.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_kde_x11.cc b/src/gui_kde_x11.cc
index 8956264d4..c8873ecb7 100644
--- a/src/gui_kde_x11.cc
+++ b/src/gui_kde_x11.cc
@@ -700,6 +700,7 @@ gui_mch_get_font(char_u * name, int report_error)//{{{
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 @@ gui_mch_get_fontname(GuiFont font, char_u *name)//{{{
return NULL;
return vim_strsave(name);
}//}}}
+#endif
/*
* Set the current text font.