Introspect/Method.js
authorAlan Knowles <alan@akkbhome.com>
Thu, 11 Nov 2010 23:44:17 +0000 (07:44 +0800)
committerAlan Knowles <alan@akkbhome.com>
Thu, 11 Nov 2010 23:44:17 +0000 (07:44 +0800)
Introspect/Method.js

index 2c44879..e0790fe 100644 (file)
@@ -22,7 +22,7 @@ Method = XObject.define(
         this.propertyType  = 'Method';
         
         var flags = GI.function_info_get_flags (m);
-        var n = GI.base_info_get_name(m);
+        var n = m.get_name();
         var n_original = n + '';
         // posibly add: sink, 
         if (n.match(/_(ref|unref)$/) || n.match(/^(ref|unref|weakref|weakunref)$/)) {