Commit 0aaff3a6 authored by Bastien Nocera's avatar Bastien Nocera

device: Use non-deprecated PolKit call

parent 2e434a06
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment