GtkSource.Buffer.get_language

### Method

# GtkSource Bufferget_language

#### Declaration [src]

    GtkSourceLanguage*
    gtk_source_buffer_get_language (
      GtkSourceBuffer* buffer
    )

#### Description [src]

Returns the `GtkSourceLanguage` associated with the buffer, see `gtk_source_buffer_set_language()`.

The returned object should not be unreferenced by the user.

Gets property | `GtkSource.Buffer:language`

#### Return value

Type: `GtkSourceLanguage`

The `GtkSourceLanguage` associated with the buffer, or `NULL`.

The returned data is owned by the instance.
The return value can be `NULL`.