diff --git a/src/device.c b/src/device.c index 693cf09..85d9353 100644 --- a/src/device.c +++ b/src/device.c @@ -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,