mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Fix up docs
svn path=/trunk/; revision=7424
This commit is contained in:
parent
ed2bbc43cc
commit
11cc2e2aeb
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user