docs: Improve g_variant_loop() docs

Typo fix and changing "is not recommended" to the nice version of "don't
do this", aka "causes undefined behavior".
This commit is contained in:
Benjamin Otte
2011-10-16 12:58:29 -07:00
parent 14677e16d8
commit 7d1c7af1a6
2 changed files with 6 additions and 3 deletions

View File

@@ -1439,7 +1439,10 @@ _g_local_file_info_get (const char *basename,
/* Avoid stat in trivial case */
if (attribute_matcher == NULL)
return info;
{
g_file_info_unset_attribute_mask (info);
return info;
}
#ifndef G_OS_WIN32
res = g_lstat (path, &statbuf);