list_enabled
Description:
Similar to list_sources, but returns only enabled sources according to check_enabled.
The sources returned in the list are referenced for thread-safety. They must each be unreferenced with unref when finished with them. Free the returned list itself with g_list_free.
An easy way to free the list properly in one step is as follows:
g_list_free_full (list, g_object_unref);
Parameters:
this | |
extension_name |
an extension name, or |
Returns:
a sorted list of sources |