Re: Using: g_key_file_load_from_file() in homedir
- From: Santhosh <santhoshmani gmail com>
- To: "Nikolaj Kiær Thygesen" <Nikolaj Thygesen ciber dk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Using: g_key_file_load_from_file() in homedir
- Date: Wed, 22 Feb 2006 19:52:35 +0530
everything works, but when changing the path to "~/.DiamondBOX/Diamond.settings"
I think "~/..." is converted to "home-dir" by the shell.. it may not
be supported by the GLIB API...
Instead you can use glib functions to get the home directory... I
couldn't exactly recall the function... it could be
"g_...get_homedir()"
Regards,
Santhosh.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]