summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Pessi <Pekka.Pessi@nokia.com>2009-10-06 16:30:10 +0300
committerWill Thompson <will.thompson@collabora.co.uk>2009-10-06 15:15:32 +0100
commitac6a047cd63a1b63a752e6b28fe9831e80b02d76 (patch)
tree8852a6e17331c69005f8d632f4bbeb91042fe796
parent8de0e35ecd2634dfad5ee38e1e550336f3ae2b45 (diff)
dbus-properties-mixin.c: fixed error message on write-only properties
Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
-rw-r--r--telepathy-glib/dbus-properties-mixin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/telepathy-glib/dbus-properties-mixin.c b/telepathy-glib/dbus-properties-mixin.c
index a8db575b6..bde5e2dcf 100644
--- a/telepathy-glib/dbus-properties-mixin.c
+++ b/telepathy-glib/dbus-properties-mixin.c
@@ -741,7 +741,7 @@ tp_dbus_properties_mixin_get (GObject *self,
if ((prop_info->flags & TP_DBUS_PROPERTIES_MIXIN_FLAG_READ) == 0)
{
g_set_error (error, TP_ERRORS, TP_ERROR_PERMISSION_DENIED,
- "Property %s on %s is read-only", property_name, interface_name);
+ "Property %s on %s is write-only", property_name, interface_name);
return FALSE;
}