summaryrefslogtreecommitdiff
path: root/examples/gobject/properties.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gobject/properties.py')
-rw-r--r--examples/gobject/properties.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/gobject/properties.py b/examples/gobject/properties.py
index 2d36afc6..a2d91efe 100644
--- a/examples/gobject/properties.py
+++ b/examples/gobject/properties.py
@@ -1,3 +1,5 @@
+import pygtk
+pygtk.require('2.0')
import gobject
class MyObject(gobject.GObject):