gtkimcontextwayland: Set a higher IO extension priority
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 3 Dec 2021 23:15:54 +0000 (00:15 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 3 Dec 2021 23:21:53 +0000 (00:21 +0100)
We want this to take precedence in the wayland platform to other
modules that might be loaded via the IO extension point. None of
those is going to bode well in this platform.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4443
gtk/gtkimcontextwayland.c

index 9f4df8954b5b7afeac6ad2e5a93eca48616b1814..8b372d048f91337781af58baee95be902a076d4f 100644 (file)
@@ -101,7 +101,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkIMContextWayland, gtk_im_context_wayland, GTK_TYPE_I
                          g_io_extension_point_implement (GTK_IM_MODULE_EXTENSION_POINT_NAME,
                                                          g_define_type_id,
                                                          "wayland",
-                                                         0));
+                                                         100));
 
 #define GTK_IM_CONTEXT_WAYLAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), gtk_im_context_wayland_get_type (), GtkIMContextWayland))