summaryrefslogtreecommitdiff
path: root/examples/pygtk-demo/demos/infobar.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pygtk-demo/demos/infobar.py')
-rw-r--r--examples/pygtk-demo/demos/infobar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/pygtk-demo/demos/infobar.py b/examples/pygtk-demo/demos/infobar.py
index b4a5440d..adfef166 100644
--- a/examples/pygtk-demo/demos/infobar.py
+++ b/examples/pygtk-demo/demos/infobar.py
@@ -6,6 +6,8 @@ dialog. It is often temporarily shown at the top or bottom of a document.
'''
# pygtk version: John Stowers <john.stowers@gmail.com>
+import pygtk
+pygtk.require('2.0')
import gtk
class InfoBarDemo(gtk.Window):