diff options
author | Papoteur <papoteur@mageia.org> | 2022-04-14 19:43:53 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2022-04-14 19:43:53 +0200 |
commit | 426ab9ba160fc0e16c7166a8087d686d90503b8f (patch) | |
tree | 9e176bac716b92c7083f3e16b9de155e8960bc4d | |
parent | 97f64b96ed1afc1326ee4622a92adf7460248ae1 (diff) | |
download | msec-426ab9ba160fc0e16c7166a8087d686d90503b8f.tar msec-426ab9ba160fc0e16c7166a8087d686d90503b8f.tar.gz msec-426ab9ba160fc0e16c7166a8087d686d90503b8f.tar.bz2 msec-426ab9ba160fc0e16c7166a8087d686d90503b8f.tar.xz msec-426ab9ba160fc0e16c7166a8087d686d90503b8f.zip |
Get rid of warnings about Gtk release not specified
-rwxr-xr-x | src/msec/msecgui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/msec/msecgui.py b/src/msec/msecgui.py index 085e757..e1a42f6 100755 --- a/src/msec/msecgui.py +++ b/src/msec/msecgui.py @@ -18,8 +18,11 @@ import time import warnings warnings.filterwarnings('error', module='gtk') try: + from gi import require_version from gi.repository import GLib + require_version('GdkPixbuf', '2.0') from gi.repository import GdkPixbuf + require_version('Gtk', '3.0') from gi.repository import Gtk import gi from gi.repository import GObject |