1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

Removed unused WScreen argument in dock's drawer state functions

It was used to access the session state, which was stored in the
screen scruct, which is now more logically in the global namespace.
This commit is contained in:
Christophe CURIS
2013-10-12 15:35:50 +02:00
committed by Carlos R. Mafra
parent 6ad22c8672
commit b7ae1b50e2

View File

@@ -4829,7 +4829,7 @@ finish:
/* Same kind of comment than for previous function: this function is
* very similar to make_icon_state, but has substential differences as
* well. */
static WMPropList *drawerSaveState(WScreen *scr, WDock *drawer)
static WMPropList *drawerSaveState(WDock *drawer)
{
WMPropList *pstr, *drawer_state;
WAppIcon *ai;
@@ -4884,7 +4884,7 @@ void wDrawersSaveState(WScreen *scr)
for (i=0, dc = scr->drawers;
i < scr->drawer_count;
i++, dc = dc->next) {
drawer_state = drawerSaveState(scr, dc->adrawer);
drawer_state = drawerSaveState(dc->adrawer);
WMAddToPLArray(all_drawers, drawer_state);
WMReleasePropList(drawer_state);
}