mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
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");
|
||||
#endif
|
||||
|
||||
#ifdef COGL_HAS_GTYPE_SUPPORT
|
||||
#if defined(COGL_HAS_GTYPE_SUPPORT) && !GLIB_CHECK_VERSION (2, 36, 0)
|
||||
g_type_init ();
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user