Method

LspDiagnosticset_source

Declaration

void
lsp_diagnostic_set_source (
  LspDiagnostic* self,
  const gchar* value
)

Description

Sets the value of source.

A human-readable string describing the source of this diagnostic, e.g. ‘vala’ or ‘vala lint’.

Parameters

value

Type: const gchar*

The new value of source.

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