summaryrefslogtreecommitdiff
path: root/examples/pygtk-demo/demos/images.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pygtk-demo/demos/images.py')
-rw-r--r--examples/pygtk-demo/demos/images.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/pygtk-demo/demos/images.py b/examples/pygtk-demo/demos/images.py
index 176cfa78..3e2ff56c 100644
--- a/examples/pygtk-demo/demos/images.py
+++ b/examples/pygtk-demo/demos/images.py
@@ -11,6 +11,9 @@ depend on loading external files, your application binary can be self-contained.
# pygtk version: Maik Hertha <maik.hertha@berlin.de>
import os
+
+import pygtk
+pygtk.require('2.0')
import gobject
import gtk