summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontextbroadway.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/gtkimcontextbroadway.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/gtkimcontextbroadway.c')
-rw-r--r--gtk/gtkimcontextbroadway.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkimcontextbroadway.c b/gtk/gtkimcontextbroadway.c
index 5ad2010125..8006081d60 100644
--- a/gtk/gtkimcontextbroadway.c
+++ b/gtk/gtkimcontextbroadway.c
@@ -47,7 +47,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkIMContextBroadway, gtk_im_context_broadway, GTK_TYPE
g_io_extension_point_implement (GTK_IM_MODULE_EXTENSION_POINT_NAME,
g_define_type_id,
"broadway",
- 10))
+ 0))
static void
broadway_set_client_widget (GtkIMContext *context, GtkWidget *widget)