unstable since: 1.0

Declaration [src]

valent_context_create_settings (
  ValentContext* context,
  const char* schema_id

Description [src]

Create a GSettings object.

This is a simple wrapper around g_settings_new_full() that creates a GSettings object for the path of context. No attempt will be made to find or compile missing schemas.

Available since: 1.0



Type: const char*

A GSettings schema ID.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: GSettings

The new GSettings object.

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