kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=9f033c4b9a67d43e300b77799739a509b493dfbf
commit 9f033c4b9a67d43e300b77799739a509b493dfbf Author: Kim Woelders <k...@woelders.dk> Date: Wed Feb 16 19:33:29 2022 +0100 ipc: Only include dialog_ok if ENABLE_DIALOGS --- src/ipc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ipc.c b/src/ipc.c index 220dc001..bb19b43a 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -191,6 +191,7 @@ IPC_Border(const char *params) } } +#if ENABLE_DIALOGS static void IPC_DialogOK(const char *params) { @@ -218,6 +219,7 @@ IPC_DialogOK(const char *params) DialogOKstr(title, params); } +#endif /* ENABLE_DIALOGS */ static int CfgStrlistIndex(const char *const *list, const char *str) @@ -1711,11 +1713,13 @@ static const IpcItem IPCArray[] = { " movres move <?/opaque/lined/box/shaded/semi-solid/translucent>\n" " movres resize <?/opaque/lined/box/shaded/semi-solid>\n" " movres info <?/never/center/corner>\n"}, +#if ENABLE_DIALOGS { IPC_DialogOK, "dialog_ok", "dok", "Pop up a dialog box with an OK button", "Use \"dialog_ok <message>\" to pop up a dialog box\n"}, +#endif /* ENABLE_DIALOGS */ { IPC_Border, "border", NULL, "List available borders", NULL}, { --