[pygda/introspection] Another tiny porting change.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygda/introspection] Another tiny porting change.
- Date: Thu, 7 Apr 2011 12:55:40 +0000 (UTC)
commit 05b48f40dffa31d38fe8616625896b525d9d3499
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Apr 7 14:55:34 2011 +0200
Another tiny porting change.
examples/gda/list_api.py | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/examples/gda/list_api.py b/examples/gda/list_api.py
index 29be626..96fee61 100755
--- a/examples/gda/list_api.py
+++ b/examples/gda/list_api.py
@@ -17,15 +17,13 @@
# *
# */
-import pygtk; pygtk.require("2.0")
-import gda
+from gi.repository import Gda
def main ():
# I use this to see what API has been generated for our python gda bindings.
# The output is ugly. It would be nice to have a separate list of classes and their functions and properties.
- print dir(gda)
+ print dir(Gda)
main ()
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]