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

Removed unused WScreen argument in dock's clip function

This commit is contained in:
Christophe CURIS
2013-10-12 15:35:51 +02:00
committed by Carlos R. Mafra
parent b7ae1b50e2
commit f3e3ddf4f2
3 changed files with 3 additions and 3 deletions

View File

@@ -2485,7 +2485,7 @@ static int setIconTile(WScreen * scr, WDefaultEntry * entry, void *tdata, void *
if (scr->clip_tile) { if (scr->clip_tile) {
RReleaseImage(scr->clip_tile); RReleaseImage(scr->clip_tile);
} }
scr->clip_tile = wClipMakeTile(scr, img); scr->clip_tile = wClipMakeTile(img);
} }
if (!wPreferences.flags.nodrawer) { if (!wPreferences.flags.nodrawer) {

View File

@@ -365,7 +365,7 @@ static void paintClipButtons(WAppIcon *clipIcon, Bool lpushed, Bool rpushed)
} }
} }
RImage *wClipMakeTile(WScreen *scr, RImage *normalTile) RImage *wClipMakeTile(RImage *normalTile)
{ {
RImage *tile = RCloneImage(normalTile); RImage *tile = RCloneImage(normalTile);
RColor black; RColor black;

View File

@@ -108,7 +108,7 @@ int wIsADrawer(WAppIcon *aicon);
void wClipUpdateForWorkspaceChange(WScreen *scr, int workspace); void wClipUpdateForWorkspaceChange(WScreen *scr, int workspace);
RImage *wClipMakeTile(WScreen *scr, RImage *normalTile); RImage *wClipMakeTile(RImage *normalTile);
RImage* wDrawerMakeTile(WScreen *scr, RImage *normalTile); RImage* wDrawerMakeTile(WScreen *scr, RImage *normalTile);
#define WO_FAILED 0 #define WO_FAILED 0