Commit 7222fca1 authored by David Zeuthen's avatar David Zeuthen

remember to set session's ConsoleKit object path

parent ee531eef
......@@ -486,6 +486,7 @@ libpolkit_session_new_from_objpath (DBusConnection *con, const char *objpath, ui
_pk_debug ("ck seat '%s'", seat_path);
session = libpolkit_session_new ();
libpolkit_session_set_ck_objref (session, objpath);
libpolkit_session_set_ck_is_active (session, is_active);
libpolkit_session_set_ck_is_local (session, is_local);
if (!is_local) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment