diff options
author | Dave Davenport <qball@blame.services> | 2022-01-07 18:16:47 +0100 |
---|---|---|
committer | Dave Davenport <qball@blame.services> | 2022-01-07 18:16:47 +0100 |
commit | addfc1d367b227bb28ccad7bdf23c0217f4b6125 (patch) | |
tree | 8950e9ae7f9c870120f3284fd7c03b8ab6cacb9b | |
parent | d4814b1f941ff0b670cb5d0bfa9fdb9edf5911db (diff) |
[Helper] Remove font sanity check as it is insufficient, and old format.
-rw-r--r-- | source/helper.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source/helper.c b/source/helper.c index a8b98979..0988807b 100644 --- a/source/helper.c +++ b/source/helper.c @@ -699,23 +699,6 @@ int config_sanity_check(void) { } } - if (config.menu_font) { - PangoFontDescription *pfd = - pango_font_description_from_string(config.menu_font); - const char *fam = pango_font_description_get_family(pfd); - int size = pango_font_description_get_size(pfd); - if (fam == NULL || size == 0) { - g_string_append_printf(msg, "Pango failed to parse font: '%s'\n", - config.menu_font); - g_string_append_printf(msg, - "Got font family: <b>%s</b> at size <b>%d</b>\n", - fam ? fam : "{unknown}", size); - config.menu_font = NULL; - found_error = TRUE; - } - pango_font_description_free(pfd); - } - if (g_strcmp0(config.monitor, "-3") == 0) { // On -3, set to location 1. config.location = 1; |