950fa6857e
This change was necessary because it turned out that using g_dbus_setup_bus() and later dbus_g_bus_get() leads to problems (assertion about watch data on Moblin 2.1, CRITICAL warning and possibly other issues on Debian Lenny). It seems that sharing a DBusConnection between different layers on top of libdbus is either not supported or incorrectly implemented, at least in glib-dbus. The problem was found in SyncEvolution when using a libecal/ebook which call D-Bus under the hood (Moblin Bugzilla #8460). SyncEvolution has no control over those calls, therefore making the connection used by the syncevo-dbus-server private was the easier alternative. |
||
---|---|---|
.. | ||
example.cpp | ||
test-example |