[mutter] cogl: Remove conditional g_type_init() call



commit 8158e96004464a96c40f5fb92996976e0caf11aa
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Aug 5 16:22:22 2021 +0200

    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>

 cogl/cogl/cogl.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/cogl/cogl/cogl.c b/cogl/cogl/cogl.c
index a9cd5ca215..807594f1b0 100644
--- a/cogl/cogl/cogl.c
+++ b/cogl/cogl/cogl.c
@@ -214,10 +214,6 @@ _cogl_init (void)
 
   if (initialized == FALSE)
     {
-#if !GLIB_CHECK_VERSION (2, 36, 0)
-      g_type_init ();
-#endif
-
       _cogl_debug_check_environment ();
       initialized = TRUE;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]