Remove dup code from getWindowMakerIconImage()
commit39fa6d9e2cc75861d71fe9d7387c7e26d7d02a99
authorRodolfo García Peñas (kix) <kix@kix.es>
Tue, 3 Jul 2012 10:43:02 +0000 (3 12:43 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 4 Jul 2012 19:20:18 +0000 (4 21:20 +0200)
treefb907cdfd68f3e25fdabc46ce6c15cd8ce83e820
parent76e8a8f963946311ba054f69350fc77c2ed7799b
Remove dup code from getWindowMakerIconImage()

The code to find the icon in the function getWindowMakerIconImage()
is duplicated, because it is the same code as in get_default_icon_filename()

This patch includes the prototypes of get_default_icon_filename()
and get_default_icon_rimage() in defaults.h, so these functions
can be used in other files.
src/defaults.h
src/dialog.c