mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 22:57:04 +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:
1 parent
af403073f0
commit
e7c8ac76ea
6 files changed
+37
-37
No files matched your search
+1
-1
@@ -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