forked from e16/e16
1
0
Fork 0

Remove unused Pager:name

This commit is contained in:
Kim Woelders 2021-03-07 19:29:15 +01:00
parent 84baa86492
commit 7872361105
1 changed files with 0 additions and 3 deletions

View File

@ -94,7 +94,6 @@ typedef struct {
EWin *ewin; EWin *ewin;
Win win; Win win;
int w, h; int w, h;
char *name;
EX_Pixmap bgpmap; EX_Pixmap bgpmap;
Desk *dsk; Desk *dsk;
int dw, dh; int dw, dh;
@ -149,7 +148,6 @@ PagerCreate(void)
LIST_APPEND(Pager, &pager_list, p); LIST_APPEND(Pager, &pager_list, p);
p->name = NULL;
p->win = ECreateClientWindow(VROOT, 0, 0, 1, 1); p->win = ECreateClientWindow(VROOT, 0, 0, 1, 1);
EventCallbackRegister(p->win, PagerEvent, p); EventCallbackRegister(p->win, PagerEvent, p);
p->sel_win = ECreateWindow(p->win, 0, 0, 1, 1, 0); p->sel_win = ECreateWindow(p->win, 0, 0, 1, 1, 0);
@ -163,7 +161,6 @@ PagerDestroy(Pager * p)
LIST_REMOVE(Pager, &pager_list, p); LIST_REMOVE(Pager, &pager_list, p);
PagerScanCancel(p); PagerScanCancel(p);
Efree(p->name);
PagerHiwinHide(); PagerHiwinHide();
if (p->bgpmap != NoXID) if (p->bgpmap != NoXID)
EFreePixmap(p->bgpmap); EFreePixmap(p->bgpmap);