diff options
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r-- | giscanner/girwriter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py index d3b023a..80e1719 100644 --- a/giscanner/girwriter.py +++ b/giscanner/girwriter.py @@ -430,7 +430,7 @@ and/or use gtk-doc annotations. ''') def _write_callback(self, callback): attrs = [] if callback.namespace: - attrs.append(('c:type', callback.c_name)) + attrs.append(('c:type', callback.ctype or callback.c_name)) self._write_callable(callback, 'callback', attrs) def _write_record(self, record, extra_attrs=[]): |