From 3d5a49f4b1a8ca145d742cce21bd78c5d42175a0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 20 Nov 2013 06:14:35 +0100 Subject: fixup pygi-convert.sh's job on Gdk.Rectangle --- src/net_monitor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/net_monitor b/src/net_monitor index e01cc86..b05f7a7 100755 --- a/src/net_monitor +++ b/src/net_monitor @@ -1,6 +1,7 @@ #!/usr/bin/python from gi.repository import GObject +from gi.repository import Gdk from gi.repository import Gtk from gi.repository import Pango @@ -79,7 +80,7 @@ class LoadGraph: self.max = max # size of the GtkDrawingArea - self.__rect = self.__inner = () + self.__rect = self.__inner = Gdk.Rectangle() self.maxval = 0 # maximum value in the history self.__mesh_x = self.__mesh_y = 0 # distance in pixels between items self.__get_max() -- cgit v1.2.1