[accounts-dialog] Use non-deprecated PolKit function



commit 9af50455ccf87ee92e6975223456512361a91b79
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Oct 6 14:30:23 2010 +0100

    Use non-deprecated PolKit function

 src/um-user-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/um-user-panel.c b/src/um-user-panel.c
index 79a3372..db43518 100644
--- a/src/um-user-panel.c
+++ b/src/um-user-panel.c
@@ -1167,7 +1167,7 @@ um_user_panel_init (UmUserPanel *self)
 
         d->builder = gtk_builder_new ();
         d->um = um_user_manager_ref_default ();
-        d->authority = polkit_authority_get ();
+        d->authority = polkit_authority_get_sync (NULL, NULL);
 
         filename = UIDIR "/user-accounts-dialog.ui";
         if (!g_file_test (filename, G_FILE_TEST_EXISTS)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]