[gtk: 1/2] GtkIMContextSimple: Fix Wayland build when X11 support is disabled.



commit 8ca3ac19704c0521a54159f358ded41ea92ea3c8
Author: Emmanuel Gil Peyrot <linkmauve linkmauve fr>
Date:   Sun Jul 8 20:11:01 2018 +0200

    GtkIMContextSimple: Fix Wayland build when X11 support is disabled.

 gtk/gtkimcontextsimple.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]