From bbd1532f84da5ab9b1e76b004fce13722c4cb673 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 21 Jan 2019 00:47:30 +0100 Subject: 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. --- gtk/gtkimcontextbroadway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkimcontextbroadway.c') 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) -- cgit v1.2.1