* gaflight_location_to_string: * @location: A #GAFlightLocation. * * Returns: A representation of this URI as a string. * * It should be freed with g_free() when no longer needed. * * Since: 5.0.0 */
| 274 | * Since: 5.0.0 |
| 275 | */ |
| 276 | gchar * |
| 277 | gaflight_location_to_string(GAFlightLocation *location) |
| 278 | { |
| 279 | const auto flight_location = gaflight_location_get_raw(location); |
| 280 | const auto string = flight_location->ToString(); |
| 281 | return g_strdup(string.c_str()); |
| 282 | } |
| 283 | |
| 284 | /** |
| 285 | * gaflight_location_get_scheme: |
nothing calls this directly
no test coverage detected