Introspect/Method.js
[gnome.introspection-doc-generator] / 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)$/)) {