summaryrefslogtreecommitdiffstats
path: root/bus
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2009-02-15 14:27:37 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2009-02-15 14:27:37 +0800
commit5eb52e011238028cb81e7c71e39b4d506c34e96e (patch)
tree2f85dce24afa1ac37e75ce8284cd278327e05f6c /bus
parentfc855ccfe89d59d2d5a1dc401ef6b1074a6a74c6 (diff)
downloadibus-5eb52e011238028cb81e7c71e39b4d506c34e96e.tar.gz
ibus-5eb52e011238028cb81e7c71e39b4d506c34e96e.tar.xz
ibus-5eb52e011238028cb81e7c71e39b4d506c34e96e.zip
Fix a typo, and create the engine after create the input context.
Diffstat (limited to 'bus')
-rw-r--r--bus/engineproxy.c2
-rw-r--r--bus/ibusimpl.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/bus/engineproxy.c b/bus/engineproxy.c
index 6fc111f..647845b 100644
--- a/bus/engineproxy.c
+++ b/bus/engineproxy.c
@@ -636,7 +636,7 @@ bus_engine_proxy_set_capabilities (BusEngineProxy *engine,
g_assert (BUS_IS_ENGINE_PROXY (engine));
ibus_proxy_call ((IBusProxy *) engine,
- "SetCapabilites",
+ "SetCapabilities",
G_TYPE_UINT, &caps,
G_TYPE_INVALID);
diff --git a/bus/ibusimpl.c b/bus/ibusimpl.c
index 3af090d..2e39dc4 100644
--- a/bus/ibusimpl.c
+++ b/bus/ibusimpl.c
@@ -698,6 +698,8 @@ _ibus_create_input_context (BusIBusImpl *ibus,
context = bus_input_context_new (connection, client);
ibus->contexts = g_list_append (ibus->contexts, context);
+ _context_request_engine_cb (context, NULL, ibus);
+
static const struct {
gchar *name;
GCallback callback;