Fix up docs

svn path=/trunk/; revision=7424
This commit is contained in:
Matthias Clasen 2008-09-02 16:48:40 +00:00
parent ed2bbc43cc
commit 11cc2e2aeb
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-09-02 Matthias Clasen <mclasen@redhat.com>
Bug 550104 trivial documentation fix for g_get_home_dir
* glib/gutils.c (g_get_home_dir): Fix up the docs.
2008-09-02 Michael Natterer <mitch@imendio.com>
* glib/gchecksum.c (g_checksum_reset): add

View File

@ -1811,13 +1811,13 @@ g_get_real_name (void)
* </simplelist>
* Since applications are in general <emphasis>not</emphasis> written
* to deal with these situations it was considered better to make
* g_get_homedir() not pay attention to <envar>HOME</envar> and to
* g_get_home_dir() not pay attention to <envar>HOME</envar> and to
* return the real home directory for the user. If applications
* want to pay attention to <envar>HOME</envar>, they can do:
* |[
* const char *homedir = g_getenv ("HOME");
* if (!homedir)
* homedir = g_get_homedir (<!-- -->);
* homedir = g_get_home_dir (<!-- -->);
* ]|
*
* Returns: the current user's home directory