X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=Introspect%2FMethod.js;h=e0790fe5733794a3e8bad485949bb69bd0ed2c0b;hp=2c44879ba16d62bbae60fed669c9241b4ed40e76;hb=81aed7ec1b2c9aa4b80cd4287db7ce6281a53cc0;hpb=26c5378102b256f64a728e07231e59bfa3d08b7e 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)$/)) {