Method
GioFileget_uri
Declaration [src]
char*
g_file_get_uri (
GFile* file
)
Return value
Type: char*
A string containing the GFile
‘s URI. If the GFile
was constructed
with an invalid URI, an invalid URI is returned.
The returned string should be freed with g_free()
when no longer needed.
The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
The value is a NUL terminated UTF-8 string. |