Method

GrlRegistryget_sources

since: 0.2.0

Declaration [src]

GList*
grl_registry_get_sources (
  GrlRegistry* registry,
  gboolean ranked
)

Description [src]

This function will return all the available sources in the registry.

If ranked is TRUE, the source list will be ordered by rank.

Available since: 0.2.0

Parameters

ranked

Type: gboolean

Whether the returned list shall be returned ordered by rank.

Return value

Type: A list of None

A GList of available GrlSources. The content of the list should not be modified or freed. Use g_list_free() when done using the list.

The caller of the method takes ownership of the data container, but not the data inside it.