it depends only on pygtk version
This commit is contained in:
parent
b83d2f13b7
commit
36590c86fd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue