chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix assertion failure when resuming from sleep/suspend
[elogind.git]
/
src
/
login
/
logind-action.h
diff --git
a/src/login/logind-action.h
b/src/login/logind-action.h
index 5269237c61566fcc6e0ff9c0f9f3a9080268c049..6b63b92d3c5e2c62432b8d938c4709f9ce62f8ee 100644
(file)
--- a/
src/login/logind-action.h
+++ b/
src/login/logind-action.h
@@
-22,7
+22,7
@@
***/
typedef enum HandleAction {
***/
typedef enum HandleAction {
- HANDLE_IGNORE,
+ HANDLE_IGNORE
= 0
,
HANDLE_POWEROFF,
HANDLE_REBOOT,
HANDLE_HALT,
HANDLE_POWEROFF,
HANDLE_REBOOT,
HANDLE_HALT,
@@
-44,7
+44,7
@@
int manager_handle_action(
bool ignore_inhibited,
bool is_edge);
bool ignore_inhibited,
bool is_edge);
-int shutdown_or_sleep(HandleAction action);
+int shutdown_or_sleep(
Manager *m,
HandleAction action);
const char* handle_action_to_string(HandleAction h) _const_;
HandleAction handle_action_from_string(const char *s) _pure_;
const char* handle_action_to_string(HandleAction h) _const_;
HandleAction handle_action_from_string(const char *s) _pure_;