Comment #4 on issue 1397 by takao.fujiwara1: [GObjectIntrospection] Failed
to get GType of IBus.Engine in javascript
http://code.google.com/p/ibus/issues/detail?id=1397
GObject.type_from_name('IBusEngine') is working in seed. Returns a big
number which is valid GType (like 134695776 ), but in gjs returns 0.
Yeah, seed creates GType during the import IBus but gjs can create GType
with ibus_engine_new() and probably ibus-daemon needs to be run with gjs.
bus = new IBus.Bus();
factory = IBus.Factory.new(bus.get_connection());
engine = IBus.Engine.new('test', '/org/freedesktop/IBus/Test/1',
factory.get_connection());
print GObject.type_from_name('IBusEngine')
--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en