app: set the blank font name for the standard font instead of 'Standard'

to fix the issue when 'Standard' can be actual font from the list
or a font which starts with. (ie. Standard Symbols PS)

Fixes: #3104 (GNOME/Gimp tracker)
This commit is contained in:
Stanislav Grinkov 2023-08-13 09:56:39 +06:00
parent e489dc6e53
commit 83f6eec57b
No known key found for this signature in database
GPG key ID: F9FF16FBCBF58578

View file

@ -347,7 +347,7 @@ gimp_font_get_standard (void)
{
g_set_weak_pointer (&standard_font,
g_object_new (GIMP_TYPE_FONT,
"name", "Standard",
"name", "",
NULL));;
gimp_data_clean (standard_font);