Method

ValentContextget_config_file

unstable since: 1.0

Declaration [src]

GFile*
valent_context_get_config_file (
  ValentContext* context,
  const char* filename
)

Description [src]

Create a new config file.

This method creates a new GFile for filename in the config directory.

Available since: 1.0

Parameters

filename

Type: const char*

A filename.

The data is owned by the caller of the method.
The value is a file system path, using the OS encoding.

Return value

Type: GFile

A new GFile

The caller of the method takes ownership of the data, and is responsible for freeing it.
The return value can be NULL.