Commit b40d8a5f authored by Yann Leboulanger's avatar Yann Leboulanger

prevent TB in cell_renderer_pixbuf. fixes #3544

parent cbedeb98
......@@ -94,6 +94,8 @@ class CellRendererImage(gtk.GenericCellRenderer):
if self.image.get_storage_type() == gtk.IMAGE_ANIMATION:
if self.image not in self.iters:
if not isinstance(widget, gtk.TreeView):
return
animation = self.image.get_animation()
iter = animation.get_iter()
self.iters[self.image] = iter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment