Skip to content
Commit 37f949bc authored by Bertrand Lorentz's avatar Bertrand Lorentz Committed by Andrés G. Aragoneses
Browse files

Update for dbus-sharp 0.8.1 & dbus-sharp-glib 0.6

We now require both dbus-sharp 0.8.1 and dbus-sharp-glib 0.6.

Switching to >=0.8 dbus-sharp was necessary as a first step
towards fixing bgo#630110 ("Get single instance and remote
control working on Win32"). But it's rather better to already
require 0.8.1 instead of 0.8, because 0.8 had regressions (see
bgo#725446).

These new versions of these dependencies have API/ABI breaks, so
then their version in their pc files is raised from 1.0 to 2.0.

Switching to these versions allow us to also make some cleanups:

We were using an obsolete Bus.Session.Register which required a bus
name, and it's now gone. This allows us to remove some
DBusServiceManager.RegisterObject overloads that become unnecessary.

As an additional consequence, we don't need the DBusExportable attribute
anymore. It was used by classes implementing IDBusExportable to indicate
their service name, which was then used for the bus name.
parent 5aef9d43
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment