From 0aaff3a6c62157cb16122468d73348a7040a31d7 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sat, 17 Nov 2012 09:10:35 +0100 Subject: [PATCH] device: Use non-deprecated PolKit call --- src/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,