aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-09-29 03:34:29 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-09-29 03:34:29 -0400
commitc1eb9f916c1ea46132b2bca6c1456e0329419b58 (patch)
treecc667c825da11fff6a7531c72a45c37f3770967f
parent7fdaec8a0420adb727d1ba1cbd8fe6b507cc8fa9 (diff)
downloadnet_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-xsrc/net_monitor3
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