vala: Fix vala binding
This commit is contained in:
Родитель
30d217ac85
Коммит
daf63a8db3
|
@ -55,7 +55,7 @@ public int main(string[] args) {
|
||||||
|
|
||||||
factory.create_engine.connect((factory, name) => {
|
factory.create_engine.connect((factory, name) => {
|
||||||
const string path = "/org/freedesktop/IBus/engine/simple/%d";
|
const string path = "/org/freedesktop/IBus/engine/simple/%d";
|
||||||
IBus.Engine engine = new IBus.Engine.type(
|
IBus.Engine engine = new IBus.Engine.with_type(
|
||||||
typeof(IBus.EngineSimple), name,
|
typeof(IBus.EngineSimple), name,
|
||||||
path.printf(++id), bus.get_connection());
|
path.printf(++id), bus.get_connection());
|
||||||
return engine;
|
return engine;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче