[cogl] profile: use atexit not g_atexit



commit b2d05f32c26e19170a81ebc27d4735edc294ad27
Author: Robert Bragg <robert linux intel com>
Date:   Mon Jan 16 20:52:50 2012 +0000

    profile: use atexit not g_atexit
    
    g_atexit has been deprecated so we simply use atexit instead now.
    
    Reviewed-by: Neil Roberts <neil linux intel com>

 cogl/cogl-profile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/cogl-profile.c b/cogl/cogl-profile.c
index ba140b2..c06d8a5 100644
--- a/cogl/cogl-profile.c
+++ b/cogl/cogl-profile.c
@@ -65,7 +65,7 @@ _cogl_uprof_init (void)
 #include "cogl-debug-options.h"
 #undef OPT
 
-  g_atexit (print_exit_report);
+  atexit (print_exit_report);
 }
 
 void



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