[ Version ( since = "3.2" ) ]
public List<Service> list_services ()
Returns a list of all Service objects previously added using add_service.
The services 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 property in one step is as follows:
g_list_free_full (list, g_object_unref);
this |
a Session |
an unsorted list of Service objects |