Fix assertion failure in ibusbus.c.
authorYusuke Sato <yusukes@chromium.org>
Wed, 15 Dec 2010 06:13:00 +0000 (15:13 +0900)
committerYusuke Sato <yusukes@chromium.org>
Wed, 15 Dec 2010 06:13:00 +0000 (15:13 +0900)
commit4de438c3dbb35399b479b78ada3398c5319fb7ba
tree0ac119172406c03b8e26a0c4790cdc19da4bcbd0
parent872aec110599de061e587746e8500e98f59feed9
Fix assertion failure in ibusbus.c.

The following code does not work since the underlying connection for IBus-1.4 is not a sub class of IBusObject.

        ibus_object_destroy ((IBusObject *)priv->connection);
        g_assert (priv->connection == NULL);

BUG=none
TEST=ran Chrome for Chrome OS.

Review URL: http://codereview.appspot.com/3658041
src/ibusbus.c