Move the documentation inline and add details. (#108505)

* glib/gutils.c (g_path_get_basename): Move the documentation
	inline and add details.  (#108505)
This commit is contained in:
Matthias Clasen
2003-06-18 23:13:53 +00:00
parent a15bc43580
commit 8a249d2053
2 changed files with 7 additions and 12 deletions

View File

@@ -1,3 +1,7 @@
2003-06-19 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/misc_utils.sgml: Move g_path_get_basename() docs inline.
Sun Jun 8 12:28:39 2003 Owen Taylor <otaylor@redhat.com>
* glib/tmpl/error_reporting.sgml: XML fix.

View File

@@ -154,20 +154,11 @@ path it returns %NULL.
<!-- ##### FUNCTION g_path_get_basename ##### -->
<para>
Gets the name of the file without any leading directory components.
The returned string should be freed when no longer needed.
</para>
<note>
<para>
This function allocates new memory for the returned string. This is
different from the old g_basename() function, which returned a pointer
into the argument.
</para>
</note>
@file_name: the name of the file.
@Returns: the name of the file without any leading directory components.
@file_name:
@Returns:
<!-- ##### FUNCTION g_path_get_dirname ##### -->