S?bastien Bourdeauducq wrote:
> On 01/14/2012 08:41 PM, Werner Almesberger wrote:
> >Note that images shared by multiple patches are treated as
> >separate.
> 
> The pixbuf lib won't load an image with the same filename twice
> (unless the reference count of the first load has hit 0) but instead
> increase the appropriate reference count. So is this really a
> problem?

Hmm, yes. I still recompile the patch in this case. But that could
be avoided.

But it seems to create a new problem: if an image is referenced by
several patches and the file gets updated, then any attempt to
update the image in one patch will be defeated by the others still
using the same name.

I'll have to make my own image cache to solve all this. Shouldn't
be too hard, though. After a nap :)

Thanks for the warning !

- Werner
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to