diff --git a/glib/gfileutils.c b/glib/gfileutils.c index 1e7a771a9..d6beaa5c0 100644 --- a/glib/gfileutils.c +++ b/glib/gfileutils.c @@ -2387,7 +2387,9 @@ g_path_get_basename (const gchar *file_name) * g_path_get_dirname: * @file_name: (type filename): the name of the file * - * Gets the directory components of a file name. + * Gets the directory components of a file name. For example, the directory + * component of `/usr/bin/test` is `/usr/bin`. The directory component of `/` + * is `/`. * * If the file name has no directory components "." is returned. * The returned string should be freed when no longer needed.