blob: bea99cf86b97b7d1c21291fec76acba8370e7724 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "ibus.h"
int main()
{
g_type_init ();
GMainLoop *mainloop;
IBusConnection *connection;
IBusService *service;
mainloop = g_main_loop_new (NULL, FALSE);
connection = ibus_connection_open ("unix:path=/tmp/ibus-phuang/ibus--0.0");
service = IBUS_SERVICE (ibus_engine_new ("/a/Engine", connection));
g_main_loop_run (mainloop);
return 0;
}
|