Made the likewise changes on Unix.
This commit is contained in:
parent
93f0eea140
commit
0125e33720
|
@ -67,3 +67,9 @@ uiFontButton *uiNewFontButton(void)
|
||||||
|
|
||||||
return b;
|
return b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void uiFreeFontButtonFont(uiFontDescriptor *desc)
|
||||||
|
{
|
||||||
|
// TODO ensure this is synchronized with fontmatch.c
|
||||||
|
uiFreeText((char *) (desc->Family));
|
||||||
|
}
|
||||||
|
|
|
@ -10,3 +10,8 @@ void uiFreeText(char *t)
|
||||||
{
|
{
|
||||||
g_free(t);
|
g_free(t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int uiprivStricmp(const char *a, const char *b)
|
||||||
|
{
|
||||||
|
return strcasecmp(a, b);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue