WINGs: Added 'const' attribute to functions in wapplication, wappresource, wcolor, wfont, wpixmap

This makes both the API and local function const-correct on their
input parameters.
This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2013-05-09 16:56:28 +01:00
1 parent af403073f0
commit e7c8ac76ea
6 files changed
+37 -37

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ WMColor *WMCreateRGBAColor(WMScreen * scr, unsigned short red, unsigned short gr
return color;
}
WMColor *WMCreateNamedColor(WMScreen * scr, char *name, Bool exact)
WMColor *WMCreateNamedColor(WMScreen * scr, const char *name, Bool exact)
{
WMColor *color;
XColor xcolor;