summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontextwayland.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-01-21 00:47:30 +0100
committerBenjamin Otte <otte@redhat.com>2019-01-22 04:33:11 +0100
commitbbd1532f84da5ab9b1e76b004fce13722c4cb673 (patch)
treebc37e6fd497dfc65146d9e2bc786124e9d04b70f /gtk/gtkimcontextwayland.c
parent3d40f003b214489de0d576d4fd19ddc6b136aee5 (diff)
downloadgtk+-bbd1532f84da5ab9b1e76b004fce13722c4cb673.tar.gz
imcontext: Fix priorities of modules
All built-in backend modules get a priority of 0 because they are the default ones. GtkIMContextSimple gets a priority of G_MININT because it's the fallback one. This mirrors the media modules code.
Diffstat (limited to 'gtk/gtkimcontextwayland.c')
-rw-r--r--gtk/gtkimcontextwayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimcontextwayland.c b/gtk/gtkimcontextwayland.c
index 66ea4c86c9..e621f13b70 100644
--- a/gtk/gtkimcontextwayland.c
+++ b/gtk/gtkimcontextwayland.c
@@ -98,7 +98,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",
- 10));
+ 0));
static GtkIMContextWaylandGlobal *global = NULL;