mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-09 08:18:04 +02:00
device: Use non-deprecated PolKit call
This commit is contained in:
parent
2e434a062d
commit
0aaff3a6c6
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ static void fprint_device_init(FprintDevice *device)
|
|||
priv->id = ++last_id;
|
||||
|
||||
/* Setup PolicyKit */
|
||||
priv->auth = polkit_authority_get ();
|
||||
priv->auth = polkit_authority_get_sync (NULL, NULL);
|
||||
priv->clients = g_hash_table_new_full (g_str_hash,
|
||||
g_str_equal,
|
||||
g_free,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue