From c5421afdd1357f4599367b048be89818dc2630b3 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Fri, 6 Jan 2012 11:07:15 -0500 Subject: [PATCH] Fix a build error --- bus/ibusimpl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bus/ibusimpl.c b/bus/ibusimpl.c index eeec093..5f93c49 100644 --- a/bus/ibusimpl.c +++ b/bus/ibusimpl.c @@ -577,9 +577,7 @@ bus_ibus_impl_set_focused_context (BusIBusImpl *ibus, /* attach engine to the focused context */ if (engine != NULL) { bus_input_context_set_engine (context, engine); - if (is_enabled) { - bus_input_context_enable (context); - } + bus_input_context_enable (context); g_object_unref (engine); } -- 2.7.4