[gdm/wip/slave-connection: 3/36] daemon: s/g_atexit/atexit/



commit 87efc9e87c43d7451300817d4002fb554e893329
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Sat Jul 7 16:49:18 2012 -0400

    daemon: s/g_atexit/atexit/
    
    g_atexit is deprecated. For now replace the g_atexit call with
    a normal atexit call.

 daemon/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/main.c b/daemon/main.c
index cba7cc2..ea34533 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -253,7 +253,7 @@ write_pid (void)
                 return;
         }
 
-        g_atexit (delete_pid);
+        atexit (delete_pid);
 }
 
 static void



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