diff options
-rw-r--r-- | bus/inputcontext.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bus/inputcontext.c b/bus/inputcontext.c index 7f4de65..866c837 100644 --- a/bus/inputcontext.c +++ b/bus/inputcontext.c @@ -1445,6 +1445,8 @@ bus_input_context_unset_engine (BusInputContext *context) for (i = 0; signals[i].name != NULL; i++) { g_signal_handlers_disconnect_by_func (priv->engine, signals[i].callback, context); } + /* we destroy the engine */ + ibus_object_destroy ((IBusObject *) priv->engine); g_object_unref (priv->engine); priv->engine = NULL; } |