diff options
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/common/util.c b/src/common/util.c index f999e61f..6ba2d34a 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -33,7 +33,6 @@ #include <sys/timeb.h> #include <process.h> #include <io.h> -#include <pango/pangocairo.h> /* for find_font() */ #include "../dirent/dirent-win32.h" #include "../../config-win32.h" #else @@ -2180,37 +2179,6 @@ end: } #endif -#ifdef WIN32 -int -find_font (const char *fontname) -{ - int i; - int n_families; - const char *family_name; - PangoFontMap *fontmap; - PangoFontFamily *family; - PangoFontFamily **families; - - fontmap = pango_cairo_font_map_get_default (); - pango_font_map_list_families (fontmap, &families, &n_families); - - for (i = 0; i < n_families; i++) - { - family = families[i]; - family_name = pango_font_family_get_name (family); - - if (!g_ascii_strcasecmp (family_name, fontname)) - { - g_free (families); - return 1; - } - } - - g_free (families); - return 0; -} -#endif - #ifdef USE_OPENSSL static char * str_sha256hash (char *string) |