Removed scaleDownIfNeeded function (dup code)
commitaf41673dbf35c663ddba82f99a34b6651060b1b1
authorRodolfo García Peñas (kix) <kix@kix.es>
Sun, 15 Jul 2012 19:28:00 +0000 (15 21:28 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Mon, 16 Jul 2012 00:06:36 +0000 (16 02:06 +0200)
treeb1f20a697afce2c4cd9c16fee30c509f53571417
parent2e7b7b7e026e3c58c08afceab8236ea7a3cf28df
Removed scaleDownIfNeeded function (dup code)

The function scaleDownIfNeeded's code is duplicated with the code of
wIconValidateIconSize(), then this function can be removed. The icon
size in the switchpanel should be ~48 pixels, to allow the frame around
the icon. Then, we always should resize the icon to this size. The standard
icon size is specified in WPreferences.icon_size (usually 64 pixels).
src/switchpanel.c