summaryrefslogtreecommitdiff
path: root/giscanner/gdumpparser.py
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-09-02 11:44:27 -0300
committerJohan Dahlin <johan@gnome.org>2010-09-02 12:37:54 -0300
commit1dd0fcec1d80aa1c586044065ec320f82d542de2 (patch)
treec499976c7187748a1d8e6344e854c1d33de1ec46 /giscanner/gdumpparser.py
parent5c25cabe5aa0385c224d519eedfd1df9e7e42187 (diff)
downloadgobject-introspection-1dd0fcec1d80aa1c586044065ec320f82d542de2.tar.gz
[scanner] Move over remaining callsites to message
Move the remaining callsites over to the new message module
Diffstat (limited to 'giscanner/gdumpparser.py')
-rw-r--r--giscanner/gdumpparser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py
index d93a4645..d88f2e33 100644
--- a/giscanner/gdumpparser.py
+++ b/giscanner/gdumpparser.py
@@ -209,8 +209,8 @@ blob containing data gleaned from GObject's primitive introspection."""
rettype = func.retval.type
if not (rettype.is_equiv(ast.TYPE_GTYPE)
or rettype.target_giname == 'Gtk.Type'):
- self._transformer.log_warning("function returns '%r', not a GType"
- % (func.retval.type, ))
+ message.warn("function returns '%r', not a GType" % (
+ func.retval.type, ))
return False
self._get_type_functions.append(func.symbol)