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:
parent
15b952e03e
commit
e7ef07652a
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user