mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-13 20:35:54 +01:00
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:
committed by
Carlos R. Mafra
parent
af403073f0
commit
e7c8ac76ea
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user