summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2009-02-16 13:55:12 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2009-02-16 13:55:12 +0800
commit50453e4380288f343af04e02bf9e50ea438f198c (patch)
tree01ee167b9925f3e5f773f5feb3754ef5d6d3fb88
parent57d3b559648c3674a64a8031d30456c69cb29eae (diff)
downloadibus-50453e4380288f343af04e02bf9e50ea438f198c.tar.gz
ibus-50453e4380288f343af04e02bf9e50ea438f198c.tar.xz
ibus-50453e4380288f343af04e02bf9e50ea438f198c.zip
Disable inputcontext when the engine is destroyed.
-rw-r--r--bus/inputcontext.c1
1 files changed, 1 insertions, 0 deletions
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