Created attachment 8421
Use logind Can* methods (V3)

Very old logind versions (< 196) do not support CanHybridSleep method.
In this case g_dbus_connection_call_sync() will return NULL and
g_variant_get() will explode. Hence test if dbus_ret != NULL.

(sorry, previous patches were mangled somehow)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1724196

Title:
  xfce4-session doesn't check for reboot correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-session/+bug/1724196/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to