}
IBus.Bus? get_bus() {
- IBus.init();
var bus = new IBus.Bus();
if (!bus.is_connected ())
return null;
GLib.Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GLIB_LOCALE_DIR);
GLib.Intl.bind_textdomain_codeset (Config.GETTEXT_PACKAGE, "UTF-8");
+ IBus.init();
+
program_name = Path.get_basename(argv[0]);
if (argv.length < 2) {
print_usage(stderr);