Simplify the application appicon creation
commit70c9208e4056121ad9e020a2bbbfd236c080d5fa
authorRodolfo García Peñas (kix) <kix@kix.es>
Tue, 22 Jan 2013 20:18:15 +0000 (22 21:18 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 22 Jan 2013 21:46:39 +0000 (22 21:46 +0000)
tree0b0d08d7b8b5a2edb5af932c40d5803f736cb12a
parent97d7c32184724cde799b14c1f3ddc7dab651d1f3
Simplify the application appicon creation

This patch removes all the appicon stuff from the application creation
to the appicon creation. Now, the application only calls one function
(create_appicon_for_application()) and this function do all the work.

The function do the same code than the code before this patch, but the
only change is that the "if" test to check if the appicon was found in
the docks now is negated, removing the return and doing the appicon_save
inside the function.

Finally, the old makeAppIconFor is now create_appicon_for_application().
src/appicon.c
src/appicon.h
src/application.c