Method

GtkSourceLanguageget_globs

Declaration

gchar**
gtk_source_language_get_globs (
  GtkSourceLanguage* language
)

Description

Returns the globs associated to this language.

This is just an utility wrapper around gtk_source_language_get_metadata() to retrieve the “globs” metadata property and split it into an array.

Return value

Returns: An array of utf8
 

a newly-allocated NULL terminated array containing the globs or NULL if no globs are found. The returned array must be freed with g_strfreev().

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