Conditional call to g_type_init()

The explicit type system initialization has been deprecated since
GLib 2.36. It's done automatically, now.
This commit is contained in:
Emmanuele Bassi 2015-06-10 14:12:22 +01:00
parent 15b952e03e
commit e7ef07652a

View File

@ -760,7 +760,7 @@ _cogl_init (void)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif #endif
#ifdef COGL_HAS_GTYPE_SUPPORT #if defined(COGL_HAS_GTYPE_SUPPORT) && !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init (); g_type_init ();
#endif #endif