diff options
author | Stefano Karapetsas <[email protected]> | 2013-09-12 10:45:43 -0700 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-09-12 10:45:43 -0700 |
commit | b53f83e1fcd8929b9e9275eae098308df2ab5906 (patch) | |
tree | f5aad4ebb742f341bf248aa8a1e554cdfd3b7401 /mate-session/gsm-systemd.h | |
parent | f37bbe895ebe09cfa468884973aca490e7a6785e (diff) | |
parent | f0b5b1ab78879d64f80117415aacf029359afea5 (diff) | |
download | mate-session-manager-b53f83e1fcd8929b9e9275eae098308df2ab5906.tar.bz2 mate-session-manager-b53f83e1fcd8929b9e9275eae098308df2ab5906.tar.xz |
Merge pull request #30 from NiceandGently/master
fix systemd-login1 support for hibernate/suspend
Diffstat (limited to 'mate-session/gsm-systemd.h')
-rw-r--r-- | mate-session/gsm-systemd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mate-session/gsm-systemd.h b/mate-session/gsm-systemd.h index 8e886ba..e0e21c4 100644 --- a/mate-session/gsm-systemd.h +++ b/mate-session/gsm-systemd.h @@ -89,10 +89,18 @@ gboolean gsm_systemd_can_stop (GsmSystemd *manager); gboolean gsm_systemd_can_restart (GsmSystemd *manager); +gboolean gsm_systemd_can_hibernate (GsmSystemd *manager); + +gboolean gsm_systemd_can_suspend (GsmSystemd *manager); + void gsm_systemd_attempt_stop (GsmSystemd *manager); void gsm_systemd_attempt_restart (GsmSystemd *manager); +void gsm_systemd_attempt_hibernate (GsmSystemd *manager); + +void gsm_systemd_attempt_suspend (GsmSystemd *manager); + void gsm_systemd_set_session_idle (GsmSystemd *manager, gboolean is_idle); |