diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-07 12:14:19 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-07 12:14:19 -0300 |
commit | 94c627ea578572bc91c596cae3624d241b1c1f99 (patch) | |
tree | 4d76de1a14eb82c1aa75d57eda61491f9b53711d /giscanner | |
parent | 065f446de2c40b50ab103976cf2c2f10f5fb38f6 (diff) |
Revert "[scanner] Revert static method pairing"
This reverts commit 144cb10d51888a9565721088d2b61794468742e9.
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/maintransformer.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py index cd6f8e9..dc09ae2 100644 --- a/giscanner/maintransformer.py +++ b/giscanner/maintransformer.py @@ -800,12 +800,9 @@ method or constructor of some type.""" if not isinstance(node, (ast.Class, ast.Interface, ast.Record, ast.Union, glibast.GLibBoxedOther)): return False - - # FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=572408 - #self._namespace.float(func) - #func.name = funcname - #node.static_methods.append(func) - return True + self._namespace.float(func) + func.name = funcname + node.static_methods.append(func) def _pair_constructor(self, func, subsymbol): if not (func.symbol.find('_new_') >= 0 or func.symbol.endswith('_new')): |