1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

wmaker: Added 'const' attribute to remaining functions

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-06-16 17:57:50 +02:00
committed by Carlos R. Mafra
parent c7ab9d34f7
commit c9b816de75
13 changed files with 44 additions and 44 deletions

View File

@@ -376,7 +376,7 @@ static WMPropList *get_generic_value(const char *instance, const char *class,
}
/* Get the file name of the image, using instance and class */
char *get_icon_filename(WScreen *scr, char *winstance, char *wclass, char *command,
char *get_icon_filename(WScreen *scr, const char *winstance, const char *wclass, const char *command,
Bool default_icon)
{
char *file_name = NULL;
@@ -419,7 +419,7 @@ char *get_icon_filename(WScreen *scr, char *winstance, char *wclass, char *comma
}
/* This function returns the image picture for the file_name file */
RImage *get_rimage_from_file(WScreen *scr, char *file_name, int max_size)
RImage *get_rimage_from_file(WScreen *scr, const char *file_name, int max_size)
{
RImage *image = NULL;
@@ -473,7 +473,7 @@ RImage *get_default_image(WScreen *scr)
return image;
}
RImage *get_icon_image(WScreen *scr, char *winstance, char *wclass, int max_size)
RImage *get_icon_image(WScreen *scr, const char *winstance, const char *wclass, int max_size)
{
char *file_name = NULL;