Two changes to the DBus C++ library.
- Added GetPrivateBusConnection() which is necessary to implement language switcher integrated with Chrome (http://bit.ly/8LUDJE). We have to make a DBus connection for the language switcher private, since im_ibus.so (GTK_IM_MODULE for Chrome) establishes a DBus connection to the same address and the IM module does not expect that the connection is shared with other code in the same process. If we don't make the connection private, im_ibus.so dies with g_assert.
- Added another constructor to the Proxy class so that the language switcher can connect to IME candidate window using ::::dbus_g_proxy_new_for_name_owner() API.
This change is for http://codereview.chromium.org/460107
BUG=494
Review URL: http://codereview.chromium.org/500008
2 files changed