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

View File

@ -378,9 +378,8 @@ class Window(Container, Gtk.Window):
if value:
dbg('setting rgba visual')
visual = screen.get_rgba_visual()
if visual:
self.set_visual(visual)
if visual:
self.set_visual(visual)
def show(self, startup=False):
"""Undo the startup show request if started in hidden mode"""