From c9d9db488e05c7f13f6de18f572d849b734dd197 Mon Sep 17 00:00:00 2001 From: djcb Date: Thu, 22 Dec 2011 21:18:06 +0200 Subject: [PATCH] * mu-guile.c: use g_atexit rather than atexit for portability --- guile/mu-guile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/guile/mu-guile.c b/guile/mu-guile.c index c92ae269..11f87dff 100644 --- a/guile/mu-guile.c +++ b/guile/mu-guile.c @@ -53,8 +53,7 @@ SCM_DEFINE_PUBLIC (init_mu, "mu:init", 0, 1, 0, initialized = TRUE; /* cleanup when we're exiting */ - if (atexit (mu_runtime_uninit) != 0) - g_warning ("failed to register mu_runtime_uninit with atexit"); + g_atexit (mu_runtime_uninit); return SCM_UNSPECIFIED; }