Commit 08b630b0 authored by Taddeus Kroes's avatar Taddeus Kroes

Small bugfix in Cairo test.

parent 02b7a7ea
...@@ -103,7 +103,9 @@ def create_context_window(w, h, callback): ...@@ -103,7 +103,9 @@ def create_context_window(w, h, callback):
def draw(*args): def draw(*args):
print 'draw' if not cr:
return
# Background # Background
cr.rectangle(0, 0, *root.get_size()) cr.rectangle(0, 0, *root.get_size())
cr.set_source_rgb(0, 1, 0) cr.set_source_rgb(0, 1, 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment