* gaflight_descriptor_equal: * @descriptor: A #GAFlightDescriptor. * @other_descriptor: A #GAFlightDescriptor to be compared. * * Returns: %TRUE if both of them represents the same descriptor, * %FALSE otherwise. * * Since: 5.0.0 */
| 415 | * Since: 5.0.0 |
| 416 | */ |
| 417 | gboolean |
| 418 | gaflight_descriptor_equal(GAFlightDescriptor *descriptor, |
| 419 | GAFlightDescriptor *other_descriptor) |
| 420 | { |
| 421 | const auto flight_descriptor = gaflight_descriptor_get_raw(descriptor); |
| 422 | const auto flight_other_descriptor = gaflight_descriptor_get_raw(other_descriptor); |
| 423 | return flight_descriptor->Equals(*flight_other_descriptor); |
| 424 | } |
| 425 | |
| 426 | G_DEFINE_TYPE(GAFlightPathDescriptor, gaflight_path_descriptor, GAFLIGHT_TYPE_DESCRIPTOR) |
| 427 |
nothing calls this directly
no test coverage detected