SV: Using: g_key_file_load_from_file() in homedir

2006-02-28 Thread Nikolaj Kiær Thygesen
) 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

Using: g_key_file_load_from_file() in homedir

2006-02-22 Thread Nikolaj Kiær Thygesen
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,

Re: Using: g_key_file_load_from_file() in homedir

2006-02-22 Thread 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 directory... I couldn't exactly recall the function... it could

Re: Using: g_key_file_load_from_file() in homedir

2006-02-22 Thread Christian Neumair
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