From 3404ea236ca948e4c47f6b37b0293e294153eb16 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 --- src/lib/edbus_service.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/edbus_service.c b/src/lib/edbus_service.c index 4aaf7e9..ac5d736 100644 --- a/src/lib/edbus_service.c +++ b/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 \ { \ -- 2.7.4