diff options
author | Cole Robinson <crobinso@redhat.com> | 2016-05-17 17:26:07 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2016-05-17 17:49:56 -0400 |
commit | f55e27674bed36b7c1b00f88b5c020970e4cbc00 (patch) | |
tree | fa2c88c99fcc2cf75d3e9a7994dc5773e3ca28f8 /virt-manager | |
parent | fb0fea4cdfbb370ce5c578ee9e27ad2bdbadab63 (diff) | |
download | virt-manager-f55e27674bed36b7c1b00f88b5c020970e4cbc00.tar.gz |
virt-manager: Avoid segfault on unset DISPLAY
Gtk.Window() init was crashing the app. Instead use Gtk.init() for
testing that things are working okay
Diffstat (limited to 'virt-manager')
-rwxr-xr-x | virt-manager | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt-manager b/virt-manager index da12dba5..9f5b6ffb 100755 --- a/virt-manager +++ b/virt-manager @@ -80,7 +80,7 @@ def _import_gtk(leftovers): sys.exit(1) # This will error if Gtk wasn't correctly initialized - Gtk.Window() + Gtk.init() globals()["Gtk"] = Gtk import virtManager.config |