https://bugzilla.xfce.org/show_bug.cgi?id=10793
Bug ID: 10793
Summary: xfce4-session systemd support: polkit_unix_process_new
is deprecated
Classification: Xfce
Product: Xfce4-session
Version: Unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: General
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
Created attachment 5413
--> https://bugzilla.xfce.org/attachment.cgi?id=5413&action=edit
Update deprecated polkit_unix_process_new function
Hello,
While building latest dev release of xfce4-session on Fedora 20
I have noticed the next warning
xfsm-systemd.c:79:3: warning: 'polkit_unix_process_new' is deprecated
(declared at /usr/include/polkit-1/polkit/polkitunixprocess.h:51): Use
polkit_unix_process_new_for_owner instead [-Wdeprecated-declarations]
systemd->subject = polkit_unix_process_new (getpid());
I am attaching a simple patch for it
Also answer from Eric Koegel from xfce4-dev ml below
polkit_unix_process_new_for_owner looks like it was introduced in
0.102 which was released in 2011-08-01 so we will probably need
to change:
-XDT_CHECK_OPTIONAL_PACKAGE([SYSTEMD], [polkit-gobject-1], [0.100],
+XDT_CHECK_OPTIONAL_PACKAGE([SYSTEMD], [polkit-gobject-1], [0.102],
in configure.ac.in as well.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs