fix a pb with gtk 2.8
This commit is contained in:
parent
8eaf336763
commit
635bc5a72c
|
@ -121,5 +121,4 @@ class CellRendererImage(gtk.GenericCellRenderer):
|
||||||
self.get_property('ypad'))
|
self.get_property('ypad'))
|
||||||
return x_offset, y_offset, calc_width, calc_height
|
return x_offset, y_offset, calc_width, calc_height
|
||||||
|
|
||||||
if gtk.gtk_version < (2, 8, 0) and gtk.pygtk_version < (2, 8, 0):
|
gobject.type_register(CellRendererImage)
|
||||||
gobject.type_register(CellRendererImage)
|
|
||||||
|
|
Loading…
Reference in New Issue