Method

IdeSessionItemset_metadata_value

Declaration

void
ide_session_item_set_metadata_value (
  IdeSessionItem* self,
  const char* key,
  GVariant* value
)

Description

Sets the value for metadata key.

If value is NULL, the metadata key is unset.

Parameters

key

Type: const char*

The metadata key.

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

Type: GVariant

The value for key or NULL.

The argument can be NULL.
The data is owned by the caller of the method.