Search
lxdream.org :: lxdream/src/paths_unix.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/paths_unix.c
changeset 1241:74f8e11ab4b8
prev1038:f220d18c0615
next1296:30ecee61f811
author nkeynes
date Sat Mar 03 00:17:36 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Fix GLX compile
file annotate diff log raw
1.1 --- a/src/paths_unix.c Thu Jun 25 01:15:25 2009 +0000
1.2 +++ b/src/paths_unix.c Sat Mar 03 00:17:36 2012 +1000
1.3 @@ -47,4 +47,15 @@
1.4 user_data_path = g_strdup_printf( "%s/.lxdream", home );
1.5 }
1.6 return user_data_path;
1.7 +}
1.8 +
1.9 +void set_user_data_path( const char *p )
1.10 +{
1.11 + g_free(user_data_path);
1.12 + user_data_path = g_strdup(p);
1.13 +}
1.14 +
1.15 +const char *get_user_home_path()
1.16 +{
1.17 + return getenv("HOME");
1.18 }
1.19 \ No newline at end of file
.