)
br - N :o)
-Oprindelig meddelelse-
Fra: Christian Neumair [mailto:[EMAIL PROTECTED]
Sendt: 22. februar 2006 16:40
Til: Santhosh
Cc: Nikolaj Kiær Thygesen; gtk-app-devel-list@gnome.org
Emne: Re: Using: g_key_file_load_from_file() in homedir
Am Mittwoch, den 22.02.2006, 19:52 +0530
Howdy list,
In my program I'd like to store user private settings in the homedir of
the current user in a Key_File. When loading the file this way:
key_file = g_key_file_new();
g_key_file_load_from_file(
key_file,
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
Am Mittwoch, den 22.02.2006, 19:52 +0530 schrieb Santhosh:
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