From 6b569afdfee05b3149773d976af46886243bb40f Mon Sep 17 00:00:00 2001 From: Luca Bacci Date: Fri, 4 Nov 2022 15:35:04 +0100 Subject: [PATCH] GdkWin32: Remove special-casing for old Pango versions We require Pango 1.50 now --- gdk/win32/gdkproperty-win32.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/gdk/win32/gdkproperty-win32.c b/gdk/win32/gdkproperty-win32.c index 6afb17902a..24c6c69573 100644 --- a/gdk/win32/gdkproperty-win32.c +++ b/gdk/win32/gdkproperty-win32.c @@ -103,22 +103,13 @@ _gdk_win32_get_setting (const char *name, if (font_name) { - /* The pango font fallback list got fixed during 1.43, before that - * using anything but "Segoe UI" would lead to a poor glyph coverage */ - if (pango_version_check (1, 43, 0) != NULL && - g_ascii_strncasecmp (font_name, "Segoe UI", strlen ("Segoe UI")) != 0) - { - g_free (font_name); - return FALSE; - } - GDK_NOTE(MISC, g_print("gdk_screen_get_setting(\"%s\") : %s\n", name, font_name)); g_value_take_string (value, font_name); return TRUE; } else { - g_warning ("gdk_screen_get_setting: Detecting the system font failed"); + g_warning ("gdk_win32_get_setting: Detecting the system font failed"); return FALSE; } }