Comment #2 on issue 1452 by [email protected]: [PATCH] Add ibus_bus_new_async to asynchronously connect to dbus
http://code.google.com/p/ibus/issues/detail?id=1452
Thanks for the comments. I have pushed an updated version to https://github.com/trism/ibus/tree/bus-new-async implementing the GInitable and GAsyncInitable interfaces. I thought it would be easier to work with the branch, but I can attach another patch if it would be more convenient.
The delayed creation of the IBusBus object complicates the gtk2 client part of the changes a bit. I added the timeout callback because there were instances when the code would get to ibus_im_context_init and _bus is still NULL, but I don't really like it. Needs more thought.
-- 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
