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

Changed get_default_icon_rimage function name

The function get_default_icon_rimage name is not correct, because
the function doesn't return the default icon rimage, returns the
rimage from a file name. So the correct function name should be
get_rimage_from_file.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-10-24 00:00:00 +02:00
committed by Carlos R. Mafra
parent b8025ee899
commit 206fe5e821
3 changed files with 5 additions and 5 deletions

View File

@@ -420,7 +420,7 @@ char *get_default_icon_filename(WScreen *scr, char *winstance, char *wclass, cha
}
/* This function returns the image picture for the file_name file */
RImage *get_default_icon_rimage(WScreen *scr, char *file_name, int max_size)
RImage *get_rimage_from_file(WScreen *scr, char *file_name, int max_size)
{
RImage *image = NULL;
@@ -446,7 +446,7 @@ RImage *wDefaultGetImage(WScreen * scr, char *winstance, char *wclass, int max_s
if (!file_name)
return NULL;
return get_default_icon_rimage(scr, file_name, max_size);
return get_rimage_from_file(scr, file_name, max_size);
}
int wDefaultGetStartWorkspace(WScreen * scr, char *instance, char *class)