summaryrefslogtreecommitdiffstats
path: root/src/gui_photon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_photon.c')
-rw-r--r--src/gui_photon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_photon.c b/src/gui_photon.c
index b7c92df3dd..9223a40ec8 100644
--- a/src/gui_photon.c
+++ b/src/gui_photon.c
@@ -3047,6 +3047,7 @@ gui_mch_get_font(char_u *vim_font_name, int report_error)
return( FAIL );
}
+#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.
@@ -3060,6 +3061,7 @@ gui_mch_get_fontname(font, name)
return NULL;
return vim_strsave(name);
}
+#endif
void
gui_mch_set_font(GuiFont font)