diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-09-29 03:34:29 -0400 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-09-29 03:34:29 -0400 |
commit | c1eb9f916c1ea46132b2bca6c1456e0329419b58 (patch) | |
tree | cc667c825da11fff6a7531c72a45c37f3770967f | |
parent | 7fdaec8a0420adb727d1ba1cbd8fe6b507cc8fa9 (diff) | |
download | net_monitor-c1eb9f916c1ea46132b2bca6c1456e0329419b58.tar net_monitor-c1eb9f916c1ea46132b2bca6c1456e0329419b58.tar.gz net_monitor-c1eb9f916c1ea46132b2bca6c1456e0329419b58.tar.bz2 net_monitor-c1eb9f916c1ea46132b2bca6c1456e0329419b58.tar.xz net_monitor-c1eb9f916c1ea46132b2bca6c1456e0329419b58.zip |
fix import warnings with latest gi
-rwxr-xr-x | src/net_monitor | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net_monitor b/src/net_monitor index 8aab426..1c347ed 100755 --- a/src/net_monitor +++ b/src/net_monitor @@ -1,5 +1,8 @@ #!/usr/bin/python3 +import gi +gi.require_version('Gdk', '3.0') +gi.require_version('Gtk', '3.0') from gi.repository import GObject from gi.repository import Gdk from gi.repository import GdkPixbuf |