Fix startup error (undefined variable) on non-composited displays.

This commit is contained in:
Stephen Boddy 2015-02-19 15:28:59 +01:00
parent 22ed84abdd
commit 412c9b3be3
1 changed files with 2 additions and 3 deletions

View File

@ -378,7 +378,6 @@ class Window(Container, Gtk.Window):
if value: if value:
dbg('setting rgba visual') dbg('setting rgba visual')
visual = screen.get_rgba_visual() visual = screen.get_rgba_visual()
if visual: if visual:
self.set_visual(visual) self.set_visual(visual)