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

wApplicationExtractDirPackIcon doesn't use WScreen

The function wApplicationExtractDirPackIcon now doesn't need the
argument WScreen, so can be removed.
This commit is contained in:
Rodolfo García Peñas (kix)
2013-09-05 21:08:17 +02:00
committed by Carlos R. Mafra
parent 4e4d75c55e
commit 453a0226ad
3 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ static void create_appicon_from_dock(WWindow *wwin, WApplication *wapp, Window m
/* This function is used if the application is a .app. It checks if it has an icon in it
* like for example /usr/local/GNUstep/Applications/WPrefs.app/WPrefs.tiff
*/
void wApplicationExtractDirPackIcon(WScreen * scr, const char *path, const char *wm_instance, const char *wm_class)
void wApplicationExtractDirPackIcon(const char *path, const char *wm_instance, const char *wm_class)
{
char *iconPath = NULL;
char *tmp = NULL;