diff options
author | Colin Walters <walters@src.gnome.org> | 2008-10-02 21:24:20 +0000 |
---|---|---|
committer | Colin Walters <walters@src.gnome.org> | 2008-10-02 21:24:20 +0000 |
commit | efbd75f72262e0194528e00508fb528497f58845 (patch) | |
tree | 60220771e592cb757bae15cbbb6bdb4add6e5b40 /giscanner/glibtransformer.py | |
parent | 5d4f1ef99ff5c57d4d047fa8ea71cc193f8555d8 (diff) | |
download | gobject-introspection-efbd75f72262e0194528e00508fb528497f58845.tar.gz |
Merge branch 'bug552961-methods/wip'
svn path=/trunk/; revision=647
Diffstat (limited to 'giscanner/glibtransformer.py')
-rw-r--r-- | giscanner/glibtransformer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/glibtransformer.py b/giscanner/glibtransformer.py index 89b7bd4e..da7c9bf5 100644 --- a/giscanner/glibtransformer.py +++ b/giscanner/glibtransformer.py @@ -392,6 +392,8 @@ class GLibTransformer(object): # Strip namespace and object prefix: gtk_window_new -> new func.name = func.symbol[len(prefix)+1:] if is_method: + # We don't need the "this" parameter + del func.parameters[0] klass.methods.append(func) else: klass.constructors.append(func) |