Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test-notebook.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-notebook.py b/tests/test-notebook.py
index fe90de8..262b38e 100755
--- a/tests/test-notebook.py
+++ b/tests/test-notebook.py
@@ -27,8 +27,7 @@ window.connect("destroy", lambda w: gtk.main_quit())
window.set_size_request(800, 600)
window.show_all()
-nb = Notebook()
-nb.set_property('can-close-tabs', True)
+nb = Notebook(can_close_tabs=True)
window.add(nb)