gio: Add newer dbus UnknownXxxx and PropertyReadOnly errors

Add G_DBUS_ERROR codes for:

 * org.freedesktop.DBus.Error.UnknownObject
 * org.freedesktop.DBus.Error.UnknownInterface
 * org.freedesktop.DBus.Error.UnknownProperty
 * org.freedesktop.DBus.Error.PropertyReadOnly

These were discussed on the dbus mailing list
and introduced in the following libdbus commit:

2c34514620c4b79ea4ec71d1db583379138d01ac

https://bugzilla.gnome.org/show_bug.cgi?id=727900
This commit is contained in:
Stef Walter
2014-04-09 16:14:11 +02:00
parent 65f2669173
commit 76d6fd01de
3 changed files with 21 additions and 2 deletions

View File

@@ -73,6 +73,9 @@ test_registered_errors (void)
check_registered_error ("org.freedesktop.DBus.Error.UnknownMethod",
G_DBUS_ERROR,
G_DBUS_ERROR_UNKNOWN_METHOD);
check_registered_error ("org.freedesktop.DBus.Error.UnknownObject",
G_DBUS_ERROR,
G_DBUS_ERROR_UNKNOWN_OBJECT);
}
/* ---------------------------------------------------------------------------------------------------- */