[Xfce4-commits] [xfce/xfce4-session] 02/10: polkit_unix_process_new is deprecated (Bug 10793)
noreply at xfce.org
noreply at xfce.org
Thu Aug 28 17:53:03 CEST 2014
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfce4-session.
commit 18f1fc427f10bdd8c65027bd7f839d3a1a630fb8
Author: Baurzhan Muftakhidinov <baurthefirst at gmail.com>
Date: Mon Jul 14 15:12:05 2014 +0300
polkit_unix_process_new is deprecated (Bug 10793)
Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
configure.ac.in | 2 +-
xfce4-session/xfsm-systemd.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac.in b/configure.ac.in
index d5b093d..fe6b660 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -97,7 +97,7 @@ XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.84])
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.9.0])
dnl Check for polkit / systemd integration
-XDT_CHECK_OPTIONAL_PACKAGE([SYSTEMD], [polkit-gobject-1], [0.100],
+XDT_CHECK_OPTIONAL_PACKAGE([SYSTEMD], [polkit-gobject-1], [0.102],
[systemd], [Systemd support (through polkit)])
dnl Check for debugging support
diff --git a/xfce4-session/xfsm-systemd.c b/xfce4-session/xfsm-systemd.c
index f18fbf7..a2f5b37 100644
--- a/xfce4-session/xfsm-systemd.c
+++ b/xfce4-session/xfsm-systemd.c
@@ -81,7 +81,7 @@ static void
xfsm_systemd_init (XfsmSystemd *systemd)
{
systemd->authority = polkit_authority_get_sync (NULL, NULL);
- systemd->subject = polkit_unix_process_new (getpid());
+ systemd->subject = polkit_unix_process_new_for_owner (getpid(), 0, -1);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list