On C level, the vala DBus interface object and this constant both create
a FREE_DESKTOP_DBUS_OBJECT definition, creating a GCC warning when using
librygel-core.
namespace FreeDesktop {
public const string DBUS_SERVICE = "org.freedesktop.DBus";
- public const string DBUS_OBJECT = "/org/freedesktop/DBus";
+ public const string DBUS_OBJECT_PATH = "/org/freedesktop/DBus";
}
public enum FreeDesktop.DBusRequestNameReply {
this.dbus_obj = Bus.get_proxy_sync
(BusType.SESSION,
DBUS_SERVICE,
- DBUS_OBJECT,
+ DBUS_OBJECT_PATH,
DBusProxyFlags.DO_NOT_LOAD_PROPERTIES);
this.loader = loader;