summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-08 20:11:01 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-07-08 20:11:01 +0200
commit8ca3ac19704c0521a54159f358ded41ea92ea3c8 (patch)
tree9f39279f68c53199d4ea832a7ff1538168b7e987
parentcb5c739f93a75bd7b2d78e0179bb71f69018c273 (diff)
downloadgtk+-8ca3ac19704c0521a54159f358ded41ea92ea3c8.tar.gz
GtkIMContextSimple: Fix Wayland build when X11 support is disabled.
-rw-r--r--gtk/gtkimcontextsimple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index 036eca9d09..b0eaca6b53 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -184,7 +184,7 @@ get_x11_compose_file_dir (void)
{
gchar* compose_file_dir;
-#if defined (GDK_WINDOWING_X11) || defined (GDK_WINDOWING_WAYLAND)
+#if defined (GDK_WINDOWING_X11)
compose_file_dir = g_strdup (X11_DATA_PREFIX "/share/X11/locale");
#else
compose_file_dir = g_build_filename (_gtk_get_datadir (), "X11", "locale", NULL);