static void on_web_service_destroy (CockpitWebService *service, gpointer data) { on_web_service_idling (service, data); cockpit_authenticated_destroy (data); }
static void on_web_service_gone (gpointer data, GObject *where_the_object_was) { CockpitAuthenticated *authenticated = data; authenticated->service = NULL; cockpit_authenticated_destroy (authenticated); }