diff options
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r-- | giscanner/girwriter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py index 4a6c47e0..1da2417d 100644 --- a/giscanner/girwriter.py +++ b/giscanner/girwriter.py @@ -328,8 +328,8 @@ and/or use gtk-doc annotations. ''') self._append_node_generic(enum, attrs) self._append_registered(enum, attrs) attrs.append(('c:type', enum.ctype)) - if enum.error_quark: - attrs.append(('glib:error-quark', enum.error_quark)) + if enum.error_domain: + attrs.append(('glib:error-domain', enum.error_domain)) with self.tagcontext('enumeration', attrs): self._write_generic(enum) |