cogl: Remove conditional g_type_init() call

glib 2.36 hasn't met our minimum requirements for years.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1957>
This commit is contained in:
Florian Müllner 2021-08-05 16:22:22 +02:00 committed by Marge Bot
parent ea46ebea99
commit 8158e96004

View File

@ -214,10 +214,6 @@ _cogl_init (void)
if (initialized == FALSE) if (initialized == FALSE)
{ {
#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
#endif
_cogl_debug_check_environment (); _cogl_debug_check_environment ();
initialized = TRUE; initialized = TRUE;
} }