New function create_default_icon
commit829830c01076362db1be6834ac5bd6787b24dc95
authorRodolfo García Peñas (kix) <kix@kix.es>
Sat, 14 Jul 2012 10:07:45 +0000 (14 12:07 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 15 Jul 2012 14:23:54 +0000 (15 16:23 +0200)
tree21ec3cf40c84ae74659a5329cd6e1412c61f9bd6
parent6d08aa22d824d6abe5edb4c4892bbf9eaec3175b
New function create_default_icon

The function create_default_icon sets the panel's default icon. This
is interesting to have a "cache" icon and don't search the default
icon more than one time if the icons don't have icon associated.

The code of create_default_icon was included in the addIconForWindow()
function, this patch only moves it to get a better (clear) code.
src/switchpanel.c