diff options
author | Torsten Schönfeld <kaffeetisch@gmx.de> | 2011-08-13 12:45:14 +0200 |
---|---|---|
committer | Torsten Schönfeld <kaffeetisch@gmx.de> | 2011-08-13 15:00:00 +0200 |
commit | d84b7babf5adb637342492d13ab127d43317c8be (patch) | |
tree | 2bfaf7ffcf5207d9f101a1e56e0e6cac35c11711 /giscanner/girwriter.py | |
parent | c47a10f867da52695a5c5b5bf7e0a22dddc0b085 (diff) | |
download | gobject-introspection-d84b7babf5adb637342492d13ab127d43317c8be.tar.gz |
scanner: add a moved_to property to backcompat functions
Use it to remove backcompat copies of functions that non introspectable
anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=572408
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r-- | giscanner/girwriter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py index b3b74357..ce173fd4 100644 --- a/giscanner/girwriter.py +++ b/giscanner/girwriter.py @@ -178,6 +178,8 @@ and/or use gtk-doc annotations. ''') attrs.append(('shadowed-by', func.shadowed_by)) elif func.shadows: attrs.append(('shadows', func.shadows)) + if func.moved_to is not None: + attrs.append(('moved-to', func.moved_to)) self._write_callable(func, tag_name, attrs) def _write_method(self, method): |