diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-23 17:51:56 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-23 17:51:56 -0300 |
commit | ef31c77a3d7c163153a2c19ff643320bea2fcb4d (patch) | |
tree | 191520145aa5a105493300bb5f8d7db4f0ca5213 /giscanner | |
parent | bcf7883320d82ba9078f17e901df771b22b968f9 (diff) | |
download | gobject-introspection-ef31c77a3d7c163153a2c19ff643320bea2fcb4d.tar.gz |
Replace TAG_TRANSFER with OPT_TRANSFER
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/maintransformer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/giscanner/maintransformer.py b/giscanner/maintransformer.py index 605c5d35..c21d5fd9 100644 --- a/giscanner/maintransformer.py +++ b/giscanner/maintransformer.py @@ -22,7 +22,7 @@ import re from . import ast from . import message from .annotationparser import (TAG_VFUNC, TAG_SINCE, TAG_DEPRECATED, TAG_RETURNS, - TAG_ATTRIBUTES, TAG_RENAME_TO, TAG_TYPE, TAG_TRANSFER, + TAG_ATTRIBUTES, TAG_RENAME_TO, TAG_TYPE, TAG_UNREF_FUNC, TAG_REF_FUNC, TAG_SET_VALUE_FUNC, TAG_GET_VALUE_FUNC) from .annotationparser import (OPT_ALLOW_NONE, OPT_ARRAY, OPT_ATTRIBUTE, @@ -495,7 +495,7 @@ usage is void (*_gtk_reserved1)(void);""" # Also reset the transfer default if we're toggling direction node.transfer = self._get_transfer_default(parent, node) - transfer_tag = options.get(TAG_TRANSFER) + transfer_tag = options.get(OPT_TRANSFER) if transfer_tag: node.transfer = transfer_tag.one() @@ -676,7 +676,7 @@ usage is void (*_gtk_reserved1)(void);""" self._apply_annotations_annotated(prop, block) if not block: return - transfer_tag = block.get(TAG_TRANSFER) + transfer_tag = block.get(OPT_TRANSFER) if transfer_tag is not None: prop.transfer = transfer_tag.value else: |