mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 11:12:29 +02:00
WPrefs: Added 'const' attribute to function parameters
This commit is contained in:
1 parent
eb14bca73b
commit
b5101fc8ae
17 files changed
+53
-53
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user