1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

WPrefs: Added 'const' attribute to function parameters

This commit is contained in:
Christophe CURIS
2013-05-12 00:24:39 +02:00
committed by Carlos R. Mafra
parent eb14bca73b
commit b5101fc8ae
17 changed files with 53 additions and 53 deletions

View File

@@ -536,7 +536,7 @@ static void opaqChangeCallback(WMWidget * w, void *data)
/****************** Image ******************/
static void updateImage(TexturePanel * panel, char *path)
static void updateImage(TexturePanel * panel, const char *path)
{
WMScreen *scr = WMWidgetScreen(panel->win);
RImage *image;
@@ -735,7 +735,7 @@ void SetTexturePanelCancelAction(TexturePanel * panel, WMCallback * action, void
panel->cancelData = clientData;
}
void SetTexturePanelTexture(TexturePanel * panel, char *name, WMPropList * texture)
void SetTexturePanelTexture(TexturePanel * panel, const char *name, WMPropList * texture)
{
WMScreen *scr = WMWidgetScreen(panel->win);
char *str, *type;