summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-errors.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-10 11:38:34 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-10-10 17:33:31 +0100
commitd7fbcb5e025b3c718dd1fd332b8759ae26c0d8dc (patch)
treefa3e2dc581f9230b6ba36461cb949c80e9e79257 /dbus/dbus-errors.c
parent557da1740631818f96e40d0016a4cabdf34ed0f1 (diff)
Add error o.fd.D.Error.ObjectPathInUse (DBUS_ERROR_OBJECT_PATH_IN_USE)
Diffstat (limited to 'dbus/dbus-errors.c')
-rw-r--r--dbus/dbus-errors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-errors.c b/dbus/dbus-errors.c
index 7c1d68e5..d0a80b02 100644
--- a/dbus/dbus-errors.c
+++ b/dbus/dbus-errors.c
@@ -97,6 +97,8 @@ message_from_error (const char *error)
return "Did not get a reply message.";
else if (strcmp (error, DBUS_ERROR_FILE_NOT_FOUND) == 0)
return "File doesn't exist.";
+ else if (strcmp (error, DBUS_ERROR_OBJECT_PATH_IN_USE) == 0)
+ return "Object path already in use";
else
return error;
}