summaryrefslogtreecommitdiff
path: root/gio/gioenums.h
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2014-04-09 16:14:11 +0200
committerStef Walter <stefw@gnome.org>2014-04-09 20:48:19 +0200
commit76d6fd01dec6fd3ae4cb21f4bdf1ad7ee521a2c2 (patch)
tree4f03764ba2c99bf4f89f3358f95812d0558a84a0 /gio/gioenums.h
parent65f26691733a8c8b48476d899b52cf17c0cfae88 (diff)
downloadglib-76d6fd01dec6fd3ae4cb21f4bdf1ad7ee521a2c2.tar.gz
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
Diffstat (limited to 'gio/gioenums.h')
-rw-r--r--gio/gioenums.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/gio/gioenums.h b/gio/gioenums.h
index 9eaef3185..9a7631f91 100644
--- a/gio/gioenums.h
+++ b/gio/gioenums.h
@@ -1030,6 +1030,14 @@ typedef enum
* Existing file and the operation you're using does not silently overwrite.
* @G_DBUS_ERROR_UNKNOWN_METHOD:
* Method name you invoked isn't known by the object you invoked it on.
+ * @G_DBUS_ERROR_UNKNOWN_OBJECT:
+ * Object you invoked a method on isn't known. Since 2.42
+ * @G_DBUS_ERROR_UNKNOWN_INTERFACE:
+ * Interface you invoked a method on isn't known by the object. Since 2.42
+ * @G_DBUS_ERROR_UNKNOWN_PROPERTY:
+ * Property you tried to access isn't known by the object. Since 2.42
+ * @G_DBUS_ERROR_PROPERTY_READ_ONLY:
+ * Property you tried to set is read-only. Since 2.42
* @G_DBUS_ERROR_TIMED_OUT:
* Certain timeout errors, e.g. while starting a service. Warning: this is
* confusingly-named given that %G_DBUS_ERROR_TIMEOUT also exists. We
@@ -1122,7 +1130,11 @@ typedef enum
G_DBUS_ERROR_INVALID_FILE_CONTENT, /* org.freedesktop.DBus.Error.InvalidFileContent */
G_DBUS_ERROR_SELINUX_SECURITY_CONTEXT_UNKNOWN, /* org.freedesktop.DBus.Error.SELinuxSecurityContextUnknown */
G_DBUS_ERROR_ADT_AUDIT_DATA_UNKNOWN, /* org.freedesktop.DBus.Error.AdtAuditDataUnknown */
- G_DBUS_ERROR_OBJECT_PATH_IN_USE /* org.freedesktop.DBus.Error.ObjectPathInUse */
+ G_DBUS_ERROR_OBJECT_PATH_IN_USE, /* org.freedesktop.DBus.Error.ObjectPathInUse */
+ G_DBUS_ERROR_UNKNOWN_OBJECT, /* org.freedesktop.DBus.Error.UnknownObject */
+ G_DBUS_ERROR_UNKNOWN_INTERFACE, /* org.freedesktop.DBus.Error.UnknownInterface */
+ G_DBUS_ERROR_UNKNOWN_PROPERTY, /* org.freedesktop.DBus.Error.UnknownProperty */
+ G_DBUS_ERROR_PROPERTY_READ_ONLY, /* org.freedesktop.DBus.Error.PropertyReadOnly */
} GDBusError;
/* Remember to update g_dbus_error_quark() in gdbuserror.c if you extend this enumeration */