From 2c93e58673e91fe026aa923f7c1386305c58bbf6 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sat, 10 Nov 2012 04:26:48 +0000 Subject: [PATCH] even if we have an older libdbus - let's #define the strings that are missing - at r4untime we wont get them, but hey - we'll compile at least and when dbus is upgrade... we'll get them and work right. :) SVN revision: 79080 --- legacy/edbus/src/lib/edbus_service.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/legacy/edbus/src/lib/edbus_service.c b/legacy/edbus/src/lib/edbus_service.c index 4aaf7e9a15..ac5d736fdc 100644 --- a/legacy/edbus/src/lib/edbus_service.c +++ b/legacy/edbus/src/lib/edbus_service.c @@ -10,6 +10,18 @@ #define DBUS_ANNOTATION_DEPRECATED DBUS_ANNOTATION("Deprecated", "true") #define DBUS_ANNOTATION_NOREPLY DBUS_ANNOTATION("Method.NoReply", "true") +#ifndef DBUS_ERROR_UNKNOWN_INTERFACE +# define DBUS_ERROR_UNKNOWN_INTERFACE "org.freedesktop.DBus.Error.UnknownInterface" +#endif + +#ifndef DBUS_ERROR_UNKNOWN_PROPERTY +# define DBUS_ERROR_UNKNOWN_PROPERTY "org.freedesktop.DBus.Error.UnknownProperty" +#endif + +#ifndef DBUS_ERROR_PROPERTY_READ_ONLY +# define DBUS_ERROR_PROPERTY_READ_ONLY "org.freedesktop.DBus.Error.PropertyReadOnly" +#endif + #define EDBUS_SERVICE_INTERFACE_CHECK(obj) \ do \ { \