New icon_update_pixmap helper function
commit948dde0abd32e9ccbdbf3f1a3d7d936ed7b09526
authorRodolfo García Peñas (kix) <kix@kix.es>
Tue, 23 Oct 2012 21:59:54 +0000 (23 23:59 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 28 Oct 2012 10:58:42 +0000 (28 10:58 +0000)
treead51b1758f34b74757b1c25ccf5d9c00f3f4cd51
parentf9847da97c46c2c403bcb7e6739da6b875cda8ee
New icon_update_pixmap helper function

The function icon_update_pixmap updates the WIcon's pixmap,
using the values in the WIcon struct.

This function provices a clear function to update the icon,
using only the icon, and the new image to set. This option is
better than using "makeIcon" function, with a lot of arguments.

This patch also changes the variable name "icon" to "image",
because is type rimage and then both functions uses the same name.
src/icon.c