From 50453e4380288f343af04e02bf9e50ea438f198c Mon Sep 17 00:00:00 2001 From: Huang Peng Date: Mon, 16 Feb 2009 13:55:12 +0800 Subject: [PATCH] Disable inputcontext when the engine is destroyed. --- bus/inputcontext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bus/inputcontext.c b/bus/inputcontext.c index bdc7d75..979c710 100644 --- a/bus/inputcontext.c +++ b/bus/inputcontext.c @@ -1121,6 +1121,7 @@ _engine_destroy_cb (BusEngineProxy *engine, g_assert (priv->engine == engine); bus_input_context_unset_engine (context); + bus_input_context_disable (context); } static void -- 2.7.4