wIconChangeImageFile use set_icon_image_from_image
commitc24499f6add64a233e13288d43327833b38fd12e
authorRodolfo García Peñas (kix) <kix@kix.es>
Mon, 8 Apr 2013 17:40:45 +0000 (8 19:40 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 8 Apr 2013 21:06:26 +0000 (8 22:06 +0100)
tree6307d01e69c0e4a51eb6972371fffc1cab7cdb6e
parentc088aba057f9f094ed77201e69ba579540f69044
wIconChangeImageFile use set_icon_image_from_image

The function wIconChangeImageFile() now use set_icon_image_from_image()
then:

1. Don't need call unset_icon_image() because the memory is free in the
   function set_icon_image_from_image().
2. After update the icon info, it must set the file name.
3. The pixmap image could be updated.
src/icon.c