diff options
author | Quentin Glidic <sardemff7+git@sardemff7.net> | 2017-07-06 16:31:46 +0200 |
---|---|---|
committer | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2018-03-19 11:39:47 +0100 |
commit | f431e28ce36a1672bddc0661bcdff129304037d0 (patch) | |
tree | ed5bc012602d4174e003bcc9cdf93aaf92450d6e /gtk/gtkimcontextsimple.c | |
parent | 1a1373779f87ce928a45a9371512d207445f615f (diff) | |
download | gtk+-f431e28ce36a1672bddc0661bcdff129304037d0.tar.gz |
gtkimcontextsimple.c: Use X11_DATA_PREFIX only on X11
Unlike what commit d01ea18dc3a9acc98fc133ddb53ddc838e4e18f9 says, X11 is
not a requirement for Wayland, so a Wayland-only build is possible. We
just use the same logic as other non-X11 platforms.
https://bugzilla.gnome.org/show_bug.cgi?id=784615
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'gtk/gtkimcontextsimple.c')
-rw-r--r-- | gtk/gtkimcontextsimple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index fe11e7c332..3995b002c6 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -191,7 +191,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); |