[seed] Update object-info test to latest introspection changes.
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Update object-info test to latest introspection changes.
- Date: Fri, 29 May 2009 06:13:27 -0400 (EDT)
commit 3bd3b2282d860ff29c8c75839d0adf97c1770eea
Author: Tim Horton <hortont424 gmail com>
Date: Fri May 29 10:13:09 2009 -0400
Update object-info test to latest introspection changes.
---
tests/javascript/object-info.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tests/javascript/object-info.js b/tests/javascript/object-info.js
index 5cef73c..78a9372 100755
--- a/tests/javascript/object-info.js
+++ b/tests/javascript/object-info.js
@@ -7,7 +7,9 @@
Gtk = imports.gi.Gtk;
GIRepository = imports.gi.GIRepository;
-info = GIRepository.irepository_find_by_gtype(null, Gtk.Window.type);
+gir = GIRepository.IRepository.get_default();
+
+info = gir.find_by_gtype(Gtk.Window.type);
print(GIRepository.base_info_get_name(info) + " implements interfaces");
n = GIRepository.object_info_get_n_interfaces(info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]