summaryrefslogtreecommitdiff
path: root/girepository/gifieldinfo.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2011-05-19 16:12:03 -0400
committerDan Winship <danw@gnome.org>2011-08-12 11:10:43 -0400
commit4dabe20ed5753bccd2abf8ad02e95ce6ab53036c (patch)
tree493ae7ef585a60e35c9c7b37bbb31b9f98a42e48 /girepository/gifieldinfo.c
parenta588cee7d719e0b1764d2b7687cd90424faec9d0 (diff)
downloadgobject-introspection-4dabe20ed5753bccd2abf8ad02e95ce6ab53036c.tar.gz
Deprecate ErrorDomain
The previous ErrorDomain blob was never actually scanned or used, and it was kind of a lame API conceptually. To keep some compatibility, rather than removing the enumeration values, rename them to _INVALID, and don't bump the typelib version. This should in theory allow a new libgirepository to read an old typelib. Based on a patch from Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=602516
Diffstat (limited to 'girepository/gifieldinfo.c')
-rw-r--r--girepository/gifieldinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/girepository/gifieldinfo.c b/girepository/gifieldinfo.c
index 17491a80..41976855 100644
--- a/girepository/gifieldinfo.c
+++ b/girepository/gifieldinfo.c
@@ -322,7 +322,7 @@ g_field_info_get_field (GIFieldInfo *field_info,
case GI_INFO_TYPE_INTERFACE:
case GI_INFO_TYPE_FUNCTION:
case GI_INFO_TYPE_CONSTANT:
- case GI_INFO_TYPE_ERROR_DOMAIN:
+ case GI_INFO_TYPE_INVALID_0:
case GI_INFO_TYPE_VALUE:
case GI_INFO_TYPE_SIGNAL:
case GI_INFO_TYPE_PROPERTY:
@@ -498,7 +498,7 @@ g_field_info_set_field (GIFieldInfo *field_info,
case GI_INFO_TYPE_INTERFACE:
case GI_INFO_TYPE_FUNCTION:
case GI_INFO_TYPE_CONSTANT:
- case GI_INFO_TYPE_ERROR_DOMAIN:
+ case GI_INFO_TYPE_INVALID_0:
case GI_INFO_TYPE_VALUE:
case GI_INFO_TYPE_SIGNAL:
case GI_INFO_TYPE_PROPERTY: