summaryrefslogtreecommitdiff
path: root/girepository/gitypeinfo.h
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/gitypeinfo.h
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/gitypeinfo.h')
-rw-r--r--girepository/gitypeinfo.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/girepository/gitypeinfo.h b/girepository/gitypeinfo.h
index 5c4fc835..56e7309a 100644
--- a/girepository/gitypeinfo.h
+++ b/girepository/gitypeinfo.h
@@ -48,9 +48,6 @@ gint g_type_info_get_array_fixed_size(GITypeInfo *info);
gboolean g_type_info_is_zero_terminated (GITypeInfo *info);
GIArrayType g_type_info_get_array_type (GITypeInfo *info);
-gint g_type_info_get_n_error_domains (GITypeInfo *info);
-GIErrorDomainInfo *g_type_info_get_error_domain (GITypeInfo *info,
- gint n);
G_END_DECLS