diff options
author | Huang Peng <shawn.p.huang@gmail.com> | 2009-02-18 16:37:19 +0800 |
---|---|---|
committer | Huang Peng <shawn.p.huang@gmail.com> | 2009-02-18 16:37:19 +0800 |
commit | fb135922afab3b86365a251ea708cb4108f93835 (patch) | |
tree | 1a568d6ff4b5563c9f11519a5db52769167fe68a | |
parent | 3e72c5d339c5ca998bf06f0ebc91466dd90c16e6 (diff) | |
download | ibus-fb135922afab3b86365a251ea708cb4108f93835.tar.gz ibus-fb135922afab3b86365a251ea708cb4108f93835.tar.xz ibus-fb135922afab3b86365a251ea708cb4108f93835.zip |
Call ibus_object_destroy in bus_input_context_unset_engine.
-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; } |