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 directory... I > couldn't exactly recall the function... it could be > "g_...get_homedir()"
char *path; path = g_build_filename (g_get_home_dir (), ".DiamondBOX/Diamond.settings", NULL); /* GKeyFileCode ... */ g_free (path); -- Christian Neumair <[EMAIL PROTECTED]>
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list