summaryrefslogtreecommitdiff
path: root/examples/gtk/customtreemodel.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gtk/customtreemodel.py')
-rw-r--r--examples/gtk/customtreemodel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/gtk/customtreemodel.py b/examples/gtk/customtreemodel.py
index 27335dce..739c3015 100644
--- a/examples/gtk/customtreemodel.py
+++ b/examples/gtk/customtreemodel.py
@@ -3,6 +3,8 @@
import sys
import weakref
+import pygtk
+pygtk.require('2.0')
import pango
import gtk