Unify save_appicon() and wAppIconSave()
commita1e80f5411ba457fa7d1e19873974a36113f9c6f
authorCarlos R. Mafra <crmafra@gmail.com>
Thu, 21 Jun 2012 14:16:20 +0000 (21 15:16 +0100)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 21 Jun 2012 19:34:22 +0000 (21 20:34 +0100)
tree216febfb8f94cf0596c593a2ceef7cd48af7fe94
parent4700e5f0b22a3005c0472f671072b0878b3099af
Unify save_appicon() and wAppIconSave()

Having two similarly named functions for doing the same thing is confusing.
In order to account for the extra check done by the late wAppIconSave(),
add an argument "dock".

Now there's only save_appicon().

And as pointed out by Rodolfo kix GarcĂ­a, the save_appicon_core() function
can be removed too.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
src/appicon.c
src/appicon.h
src/application.c
src/dock.c