summaryrefslogtreecommitdiff
path: root/src/context-priv.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-07-08 09:12:23 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-07-08 15:21:19 +1000
commite55587f4cfe50e12ca6feafe1fbbb9250bfaa90c (patch)
treec950edb629be6cd3a447b5648fc4c5c0781d3f67 /src/context-priv.c
parentafb26e7df9090a0b765eb294b6efff448f763b6f (diff)
downloadlibxkbcommon-e55587f4cfe50e12ca6feafe1fbbb9250bfaa90c.tar.gz
libxkbcommon-e55587f4cfe50e12ca6feafe1fbbb9250bfaa90c.tar.bz2
libxkbcommon-e55587f4cfe50e12ca6feafe1fbbb9250bfaa90c.zip
meson.build: always set the default variants/options
Make this more balanced with the rules/layouts so we can rely on that #define to exist. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/context-priv.c')
-rw-r--r--src/context-priv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/context-priv.c b/src/context-priv.c
index 3c15440..8eaa579 100644
--- a/src/context-priv.c
+++ b/src/context-priv.c
@@ -99,14 +99,6 @@ xkb_context_get_buffer(struct xkb_context *ctx, size_t size)
return rtrn;
}
-#ifndef DEFAULT_XKB_VARIANT
-#define DEFAULT_XKB_VARIANT NULL
-#endif
-
-#ifndef DEFAULT_XKB_OPTIONS
-#define DEFAULT_XKB_OPTIONS NULL
-#endif
-
static const char *
xkb_context_get_default_rules(struct xkb_context *ctx)
{