Index: ChangeLog
===================================================================
--- ChangeLog	(revision 865)
+++ ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2008-11-07  Jürg Billeter  <j@bitron.ch>
+
+	* giscanner/ast.py:
+	* giscanner/girwriter.py:
+
+	Write throws attribute for virtual functions
+
 2008-11-06  Colin Walters  <walters@verbum.org>
 
 	* tests/everything/*: Add some tests for strv.
Index: giscanner/girwriter.py
===================================================================
--- giscanner/girwriter.py	(revision 865)
+++ giscanner/girwriter.py	(working copy)
@@ -291,6 +291,7 @@
         # FIXME: reuse _write_function
         attrs = [('name', callback.name), ('c:type', callback.ctype)]
         self._append_deprecated(callback, attrs)
+        self._append_throws(callback, attrs)
         with self.tagcontext('callback', attrs):
             self._write_return_type(callback.retval)
             self._write_parameters(callback.parameters)
Index: giscanner/ast.py
===================================================================
--- giscanner/ast.py	(revision 865)
+++ giscanner/ast.py	(working copy)
@@ -430,6 +430,7 @@
         self.retval = retval
         self.parameters = parameters
         self.ctype = ctype
+        self.throws = False
 
     def __repr__(self):
         return 'Callback(%r, %r, %r)' % (
