#include <glib/gstring.h>
#include <glib/gmem.h>
#include <glib/gstrfuncs.h>
+#include <glib/gutils.h>
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
G_STRINGIFY(SYSCONFDIR) "/sysconfig",PACKAGE,
G_STRINGIFY(SYSCONFDIR) "/default",PACKAGE,
G_STRINGIFY(SYSCONFDIR) "",PACKAGE,
- /* 'getenv("HOME")' may return NULL and terminate the list prematurely. */
- getenv("HOME"),"." PACKAGE "rc",
+ /* g_get_home_dir() may return NULL and terminate the list prematurely. */
+ g_get_home_dir(),"." PACKAGE "rc",
NULL);
}