From c1eb9f916c1ea46132b2bca6c1456e0329419b58 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 29 Sep 2015 03:34:29 -0400 Subject: fix import warnings with latest gi --- src/net_monitor | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.1