mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
gfileutils: Mark the return value from g_path_skip_root() as nullable
It returns NULL for non-absolute paths. https://bugzilla.gnome.org/show_bug.cgi?id=719966
This commit is contained in:
parent
32956587f3
commit
b9c94b344e
@ -2117,7 +2117,7 @@ g_path_is_absolute (const gchar *file_name)
|
||||
* i.e. after the "/" in UNIX or "C:\" under Windows. If @file_name
|
||||
* is not an absolute path it returns %NULL.
|
||||
*
|
||||
* Returns: a pointer into @file_name after the root component
|
||||
* Returns: (nullable): a pointer into @file_name after the root component
|
||||
*/
|
||||
const gchar *
|
||||
g_path_skip_root (const gchar *file_name)
|
||||
|
Loading…
Reference in New Issue
Block a user