summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--cpufreq/src/cpufreq-selector/cpufreq-selector-service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index b618adb0..8e4eced2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ UPOWER_REQUIRED=0.9.4
DBUS_REQUIRED=1.1.2
DBUS_GLIB_REQUIRED=0.74
LIBXML_REQUIRED=2.5.0
-POLKIT_REQUIRED=0.92
+POLKIT_REQUIRED=0.97
dnl ***************************************************************************
AM_MAINTAINER_MODE
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;