summaryrefslogtreecommitdiff
path: root/examples/gtk/scrollable.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gtk/scrollable.py')
-rw-r--r--examples/gtk/scrollable.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/gtk/scrollable.py b/examples/gtk/scrollable.py
index 0a79246c..5b1c3c57 100644
--- a/examples/gtk/scrollable.py
+++ b/examples/gtk/scrollable.py
@@ -6,6 +6,8 @@
#
# Requires PyGTK 2.8.0 or later
+import pygtk
+pygtk.require('2.0')
import gobject
import gtk
from gtk import gdk