Fix a build error
authorPeng Huang <shawn.p.huang@gmail.com>
Fri, 6 Jan 2012 16:07:15 +0000 (11:07 -0500)
committerPeng Huang <shawn.p.huang@gmail.com>
Tue, 21 Feb 2012 16:51:53 +0000 (11:51 -0500)
bus/ibusimpl.c

index eeec093..5f93c49 100644 (file)
@@ -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);
         }