fingerprint-dialog: Make the operations cancellable

This commit is contained in:
Marco Trevisan (Treviño) 2020-03-26 06:44:03 +01:00 committed by Benjamin Berg
parent e12bfed744
commit 8ace2050f7
3 changed files with 66 additions and 45 deletions

View file

@ -20,9 +20,11 @@
#include <gtk/gtk.h>
#include <act/act.h>
void set_fingerprint_row (GtkWidget *fingerprint_row,
GtkLabel *state_label);
void fingerprint_button_clicked (GtkWindow *parent,
GtkWidget *fingerprint_row,
GtkLabel *state_label,
ActUser *user);
void set_fingerprint_row (GtkWidget *fingerprint_row,
GtkLabel *state_label,
GCancellable *cancellable);
void fingerprint_button_clicked (GtkWindow *parent,
GtkWidget *fingerprint_row,
GtkLabel *state_label,
ActUser *user,
GCancellable *cancellable);