From 9077d7fb83fbc09f777a3d482d6c7ad60f1d786a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 4 Jul 2019 15:22:56 +0000 Subject: Drop g_type_init calls These were ifdefed to an older version of GLib than we require now, so are just dead code. --- pango/pangoxft-fontmap.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pango/pangoxft-fontmap.c') diff --git a/pango/pangoxft-fontmap.c b/pango/pangoxft-fontmap.c index fd96816d..674e006b 100644 --- a/pango/pangoxft-fontmap.c +++ b/pango/pangoxft-fontmap.c @@ -234,11 +234,6 @@ pango_xft_get_font_map (Display *display, if (fontmap) return fontmap; -#if !GLIB_CHECK_VERSION (2, 35, 3) - /* Make sure that the type system is initialized */ - g_type_init (); -#endif - xftfontmap = (PangoXftFontMap *)g_object_new (PANGO_TYPE_XFT_FONT_MAP, NULL); xftfontmap->display = display; -- cgit v1.2.1