projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introspect/Class.js
[gnome.introspection-doc-generator]
/
Introspect
/
Base.js
diff --git
a/Introspect/Base.js
b/Introspect/Base.js
index
9876fb5
..
0d9e675
100644
(file)
--- a/
Introspect/Base.js
+++ b/
Introspect/Base.js
@@
-55,15
+55,14
@@
Base = XObject.define(
this.desc = NameSpace.doc(this.alias );
this.desc = NameSpace.doc(this.alias );
- var gi = GI.
I
Repository.get_default();
- var ver =
gi.get_version(
ns);
- var pth = GI.
I
Repository.get_search_path ();
+ var gi = GI.Repository.get_default();
+ var ver =
GI.Repository.get_version(gi,
ns);
+ var pth = GI.Repository.get_search_path ();
var gir_path = pth[0].replace(/lib\/girepository-1.0/, 'share\/gir-1.0');
//console.log(fn);
this.gir_file = gir_path + '/'+ ns + '-' + ver + '.gir';
this.gir_filename = ns + '-' + ver + '.gir';
var gir_path = pth[0].replace(/lib\/girepository-1.0/, 'share\/gir-1.0');
//console.log(fn);
this.gir_file = gir_path + '/'+ ns + '-' + ver + '.gir';
this.gir_filename = ns + '-' + ver + '.gir';
-
},
Basic,
{
},
Basic,
{
@@
-90,8
+89,8
@@
Base = XObject.define(
getBI : function() {
getBI : function() {
- var gi = GI.
I
Repository.get_default();
- return
gi.find_by_name(
this.ns, this.name);
+ var gi = GI.Repository.get_default();
+ return
GI.Repository.find_by_name(gi ,
this.ns, this.name);
},
// on, getwhat, simple list (name), variable to add to.
genericBuildList : function( onwhat, type, keylist, saveto)
},
// on, getwhat, simple list (name), variable to add to.
genericBuildList : function( onwhat, type, keylist, saveto)