* gaflight_location_get_scheme: * @location: A #GAFlightLocation. * * Returns: The scheme of this URI. * * It should be freed with g_free() when no longer needed. * * Since: 5.0.0 */
| 292 | * Since: 5.0.0 |
| 293 | */ |
| 294 | gchar * |
| 295 | gaflight_location_get_scheme(GAFlightLocation *location) |
| 296 | { |
| 297 | const auto flight_location = gaflight_location_get_raw(location); |
| 298 | const auto scheme = flight_location->scheme(); |
| 299 | return g_strdup(scheme.c_str()); |
| 300 | } |
| 301 | |
| 302 | /** |
| 303 | * gaflight_location_equal: |
nothing calls this directly
no test coverage detected