Made the likewise changes on Unix.

This commit is contained in:
Pietro Gagliardi 2018-03-17 23:42:54 -04:00
parent 93f0eea140
commit 0125e33720
2 changed files with 11 additions and 0 deletions

View File

@ -67,3 +67,9 @@ uiFontButton *uiNewFontButton(void)
return b;
}
void uiFreeFontButtonFont(uiFontDescriptor *desc)
{
// TODO ensure this is synchronized with fontmatch.c
uiFreeText((char *) (desc->Family));
}

View File

@ -10,3 +10,8 @@ void uiFreeText(char *t)
{
g_free(t);
}
int uiprivStricmp(const char *a, const char *b)
{
return strcasecmp(a, b);
}