device: Use non-deprecated PolKit call

This commit is contained in:
Bastien Nocera
2012-11-17 09:10:35 +01:00
parent 2e434a062d
commit 0aaff3a6c6

View File

@ -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,