• Matthias Clasen's avatar
    portal network monitor: Implement can_reach · a090d860
    Matthias Clasen authored
    Version 3 of the network monitor portal interface adds
    a CanReach method. Use it to implement can_reach.
    The docs state that can_reach will either return TRUE
    or set an error. So, set an error of G_IO_ERROR_HOST_UNREACHABLE
    when the portal returns FALSE for CanReach.
gnetworkmonitorportal.c 15.3 KB