[gobject-introspection] Fix typo (reported by philn-tp)



commit b6c37abc02d4e1233f372aa08ac049586c7b76a0
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Fri Sep 3 10:16:05 2010 +0200

    Fix typo (reported by philn-tp)

 giscanner/gdumpparser.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py
index 65edf2a..ea1cfe8 100644
--- a/giscanner/gdumpparser.py
+++ b/giscanner/gdumpparser.py
@@ -359,7 +359,7 @@ blob containing data gleaned from GObject's primitive introspection."""
                 else:
                     argname = 'p%s' % (i-1, )
                 pctype = parameter.attrib['type']
-                ptype = ast.Type.create_type_gtype_name(pctype)
+                ptype = ast.Type.create_from_gtype_name(pctype)
                 param = ast.Parameter(argname, ptype)
                 param.transfer = ast.PARAM_TRANSFER_NONE
                 parameters.append(param)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]