diff options
author | Cole Robinson <crobinso@redhat.com> | 2019-04-02 17:48:16 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2019-04-07 13:54:00 -0400 |
commit | d7fed3294740971dd13c545df820702b30edf3f9 (patch) | |
tree | c2c624ae0d57aebd210885656b5ce3c025b45470 /virt-manager | |
parent | f2239bad00af79eb9bc374240deba56bb1df653c (diff) | |
download | virt-manager-d7fed3294740971dd13c545df820702b30edf3f9.tar.gz |
Bump gtk dep to 3.22 for new popup routines
Given that we bumped deps to fairly modern distros with the
python3 change, I think this is safe. gtk 3.22 is from sep 2016, it's
in debian9 and fedora 25+, which seems fine for our needs.
Diffstat (limited to 'virt-manager')
-rwxr-xr-x | virt-manager | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/virt-manager b/virt-manager index d9415184..46838838 100755 --- a/virt-manager +++ b/virt-manager @@ -29,9 +29,9 @@ import warnings # pylint: disable=wrong-import-order warnings.simplefilter("ignore") try: - gi.check_version("3.14.0") + gi.check_version("3.22.0") except (ValueError, AttributeError): - print("pygobject3 3.14.0 or later is required.") + print("pygobject3 3.22.0 or later is required.") sys.exit(1) @@ -62,8 +62,8 @@ def _import_gtk(leftovers): from gi.repository import Gtk leftovers = sys.argv[1:] - if Gtk.check_version(3, 14, 0): - print("gtk3 3.14.0 or later is required.") + if Gtk.check_version(3, 22, 0): + print("gtk3 3.22.0 or later is required.") sys.exit(1) # This will error if Gtk wasn't correctly initialized |