diff options
author | Iain Lane <iain.lane@canonical.com> | 2013-04-19 10:44:36 +0100 |
---|---|---|
committer | Iain Lane <iain.lane@canonical.com> | 2013-04-19 10:44:36 +0100 |
commit | dfca7304da17c90b8c930b63bff7d5aa4f591406 (patch) | |
tree | 6a27ee46a129f5f28256350d3745074ad3861ad4 | |
parent | 58c80d41f5f7ae1f02d43aba1536416d45d89a8f (diff) | |
download | ayatana-indicator-session-dfca7304da17c90b8c930b63bff7d5aa4f591406.tar.gz ayatana-indicator-session-dfca7304da17c90b8c930b63bff7d5aa4f591406.tar.bz2 ayatana-indicator-session-dfca7304da17c90b8c930b63bff7d5aa4f591406.zip |
Call can_hibernate instead of can_suspend when checking whether we can hibernate
-rw-r--r-- | src/session-menu-mgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session-menu-mgr.c b/src/session-menu-mgr.c index 278f191..22f70e5 100644 --- a/src/session-menu-mgr.c +++ b/src/session-menu-mgr.c @@ -293,7 +293,7 @@ init_login1_proxy (SessionMenuMgr * mgr) mgr->can_suspend = can_perform_operation (can_suspend); } - login1_manager_call_can_suspend_sync (mgr->login1_manager_proxy, + login1_manager_call_can_hibernate_sync (mgr->login1_manager_proxy, &can_hibernate, NULL, &error); |