From: Alan Knowles Date: Thu, 11 Nov 2010 23:44:17 +0000 (+0800) Subject: Introspect/Method.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=81aed7ec1b2c9aa4b80cd4287db7ce6281a53cc0 Introspect/Method.js --- diff --git a/Introspect/Method.js b/Introspect/Method.js index 2c44879..e0790fe 100644 --- a/Introspect/Method.js +++ b/Introspect/Method.js @@ -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)$/)) {