From 36590c86fdf3fcb3e03112e271eec02372f0d72a Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 5 Sep 2005 20:28:25 +0000 Subject: [PATCH] it depends only on pygtk version --- src/cell_renderer_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cell_renderer_image.py b/src/cell_renderer_image.py index 4c5255fdd..cd95fc47d 100644 --- a/src/cell_renderer_image.py +++ b/src/cell_renderer_image.py @@ -121,5 +121,5 @@ class CellRendererImage(gtk.GenericCellRenderer): self.get_property('ypad')) return x_offset, y_offset, calc_width, calc_height -if gtk.gtk_version < (2, 8, 0) or gtk.pygtk_version < (2, 8, 0): +if gtk.pygtk_version < (2, 8, 0): gobject.type_register(CellRendererImage)