This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository e16.
View the commit online.
commit d73aff139121789cd546cb78f314b5768fc8fdc7
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Fri Mar 29 19:29:48 2024 +0100
session: Move some #defines
---
src/session.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/session.c b/src/session.c
index 3854a694..ce10ff2e 100644
--- a/src/session.c
+++ b/src/session.c
@@ -526,6 +526,13 @@ doSMExit(int mode, const char *params)
EExit(0);
}
+#define LOGOUT_EXIT 1
+#define LOGOUT_REBOOT 2
+#define LOGOUT_HALT 3
+#define LOGOUT_LOCK 4
+#define LOGOUT_SUSPEND 5
+#define LOGOUT_HIBERNATE 6
+
static void
_SessionLogout(void)
{
@@ -544,13 +551,6 @@ _SessionLogout(void)
#if ENABLE_DIALOGS
-#define LOGOUT_EXIT 1
-#define LOGOUT_REBOOT 2
-#define LOGOUT_HALT 3
-#define LOGOUT_LOCK 4
-#define LOGOUT_SUSPEND 5
-#define LOGOUT_HIBERNATE 6
-
static void
_SessionLogoutCB(Dialog *d, int val, void *data __UNUSED__)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.