mirror of
https://github.com/brl/mutter.git
synced 2025-08-04 23:54:40 +00: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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user