[libvirt] [PATCH] libvirt-glib: import gtk instead of pygtk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
the python example imports pygtk but uses gtk.main() so it fails to
work. Attached patch fixes this.
Cheers,
 -- Guido

From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx@xxxxxxxxxxx>
Date: Wed, 22 Jul 2009 12:00:47 +0200
Subject: [PATCH] use gtk instead of pygtk

the example uses gtk.* everywhere else
---
 examples/event-test.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/event-test.py b/examples/event-test.py
index da91e8a..bb8ed62 100644
--- a/examples/event-test.py
+++ b/examples/event-test.py
@@ -1,5 +1,5 @@
 
-import pygtk
+import gtk
 import libvirt
 import libvirtglib
 import getopt
-- 
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]