kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=7872361105590a89c465d31580c4d92e2ae34139

commit 7872361105590a89c465d31580c4d92e2ae34139
Author: Kim Woelders <k...@woelders.dk>
Date:   Sun Mar 7 19:29:15 2021 +0100

    Remove unused Pager:name
---
 src/pager.c | 3 ---
 1 file changed, 3 deletions(-)

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

-- 


Reply via email to