X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=Introspect%2FBasic.js;h=e9955f88ca241b008a0469feda29756c6fe961b4;hp=00cc18ee05fe8cf1cad9b6971990aaa0ee9b3a5b;hb=58377493088e4462b69119eeeb92e647246cfeb2;hpb=69d0e90df7ecb6847e4c3d8c02e2ef00bbee0701 diff --git a/Introspect/Basic.js b/Introspect/Basic.js index 00cc18e..e9955f8 100644 --- a/Introspect/Basic.js +++ b/Introspect/Basic.js @@ -43,7 +43,9 @@ Basic = XObject.define( return ty; } var interface_info = GI.type_info_get_interface (type_info); - var interface_type = GI.base_info_get_type (interface_info); + var interface_type = GI.base_info_get_type ? + GI.base_info_get_type (interface_info) : interface_info.get_type() ; + if (interface_type == GI.InfoType.CALLBACK) { // callback.. var Callback = imports.Callback.Callback ;