Fixed a coding style.
Removed g_type_init() calls.
Fixed ibus-engine-anthy --xml without display
Fixed in case IBus.Bus.get_config returns NULL.