summaryrefslogtreecommitdiff
path: root/giscanner/glibtransformer.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-06-15 13:05:59 -0400
committerColin Walters <walters@verbum.org>2010-06-16 20:32:22 -0400
commit59b084e18e8826613de47fa69b791c72574a3900 (patch)
tree1431d37a0dd3f9754775c95c6c9ccc332cfde7f7 /giscanner/glibtransformer.py
parent27b346578c4fccca0e3ed0cf36ee3735dd9694e8 (diff)
downloadgobject-introspection-59b084e18e8826613de47fa69b791c72574a3900.tar.gz
Apply annotations from invoker to vfunc
We typically expect people to annotate e.g. GList for virtuals on the invoker, not on the virtual slot, since the invoker feels like the public API. https://bugzilla.gnome.org/show_bug.cgi?id=621570
Diffstat (limited to 'giscanner/glibtransformer.py')
-rw-r--r--giscanner/glibtransformer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/glibtransformer.py b/giscanner/glibtransformer.py
index b9b4cb62..42488251 100644
--- a/giscanner/glibtransformer.py
+++ b/giscanner/glibtransformer.py
@@ -679,7 +679,7 @@ class GLibTransformer(object):
method.retval != vfunc.retval or
method.parameters != vfunc.parameters):
continue
- vfunc.invoker = method.name
+ vfunc.invoker = method
gclass_struct = GLibRecord.from_record(class_struct)
self._remove_attribute(class_struct.name)