New function update_icon_pixmap
commitc97bf1907963cf7b7094c42228d2c4fb008843f4
authorRodolfo García Peñas (kix) <kix@kix.es>
Sat, 3 Nov 2012 18:54:05 +0000 (3 19:54 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 4 Nov 2012 12:54:16 +0000 (4 12:54 +0000)
treecacbc536014f5b470ea7ccfe72ce2e9fb62b2238
parent6bfb175b1908cf1eab2530f66cd44db73e362ed1
New function update_icon_pixmap

The new function update_icon_pixmap() updates the pixmap for a icon task.
Now, wIconCreate() creates the image and sets the icon->file and
icon->file_image variables and update_icon_pixmap() updates the icon->pixmap.

This is interesting because we can update the pixmaps without creating the
image again.
src/icon.c
src/icon.h