Method
IdeContextbuild_file
Description
Creates a new GFile
for the path.
- If
path
isNULL
,IdeContext:workdir
is returned. - If
path
is absolute, a newGFile
to the absolute path is returned. - Otherwise, a
GFile
child ofIdeContext:workdir
is returned.
Parameters
path
-
Type:
const gchar*
A path to the file.
The argument can be NULL
.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Return value
Type: GFile
A GFile
.
The caller of the method takes ownership of the data, and is responsible for freeing it. |