[thorstenp] don't use tuple as parameters
This commit is contained in:
parent
fd54e68e6d
commit
7ca3dabbb9
|
@ -45,7 +45,8 @@ class CellRendererImage(gtk.GenericCellRenderer):
|
||||||
def do_get_property(self, pspec):
|
def do_get_property(self, pspec):
|
||||||
return getattr(self, pspec.name)
|
return getattr(self, pspec.name)
|
||||||
|
|
||||||
def func(self, model, path, iter, (image, tree)):
|
def func(self, model, path, iter, image_tree):
|
||||||
|
image, tree = image_tree
|
||||||
if model.get_value(iter, self.tv_index) != image:
|
if model.get_value(iter, self.tv_index) != image:
|
||||||
return
|
return
|
||||||
self.redraw = 1
|
self.redraw = 1
|
||||||
|
|
Loading…
Reference in New Issue