summaryrefslogtreecommitdiff
path: root/pango/pangoxft-fontmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-04 15:22:56 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-04 15:22:56 +0000
commit9077d7fb83fbc09f777a3d482d6c7ad60f1d786a (patch)
treee9d8424853c321cee5c97ecf2b3867e473fca359 /pango/pangoxft-fontmap.c
parent9eff435d13228cf57d951673220ca569392fd803 (diff)
downloadpango-9077d7fb83fbc09f777a3d482d6c7ad60f1d786a.tar.gz
Drop g_type_init calls
These were ifdefed to an older version of GLib than we require now, so are just dead code.
Diffstat (limited to 'pango/pangoxft-fontmap.c')
-rw-r--r--pango/pangoxft-fontmap.c5
1 files changed, 0 insertions, 5 deletions
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;