From a5f369c480c768173881486ad057335cae6228d9 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 5 Aug 2016 15:07:13 +0200 Subject: cpu-freq: avoid deprecated polkit_authority_get And bump polkit requirement. polkit_authority_get is deprecated since polkit-0.97 from 2010. So the requirement bump should be save for all distros. --- cpufreq/src/cpufreq-selector/cpufreq-selector-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpufreq/src') diff --git a/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c b/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c index e373c55c..e2962e16 100644 --- a/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c +++ b/cpufreq/src/cpufreq-selector/cpufreq-selector-service.c @@ -231,7 +231,7 @@ cpufreq_selector_service_register (CPUFreqSelectorService *service, return FALSE; } - service->authority = polkit_authority_get (); + service->authority = polkit_authority_get_sync (NULL, NULL); service->system_bus = connection; -- cgit v1.2.1