static void on_activate_log_in (GdmPasswordExtension *extension, GtkAction *action) { request_answer (extension); gtk_action_set_sensitive (action, FALSE); }
static void on_activate_log_in (GdmSmartcardExtension *extension) { request_answer (extension); gtk_action_set_sensitive (extension->priv->login_action, FALSE); }
void request_handle_requests(int sock) { while(1) request_answer(socket_accept(sock)); }