summaryrefslogtreecommitdiffstats
path: root/src/gui_photon.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-12-31 20:56:11 +0000
committerBram Moolenaar <Bram@vim.org>2004-12-31 20:56:11 +0000
commitdfccaf0f00e8308eae09cb8f012fce3e56097f0f (patch)
treed5c0e8137b95d98e8e606c09af1e6011d9e9d980 /src/gui_photon.c
parent8fc061c7f7acb3e80d5fd64d89ad71486d88f5e0 (diff)
updated for version 7.0027
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)