kwo pushed a commit to branch master. http://git.enlightenment.org/e16/e16.git/commit/?id=33dc37113175106480dd671fd87dd8b0396f1a73
commit 33dc37113175106480dd671fd87dd8b0396f1a73 Author: Kim Woelders <[email protected]> Date: Mon Apr 4 11:15:55 2022 +0200 stacking: Remove unused EwinListStackGetTop() --- src/ewins.h | 1 - src/stacking.c | 23 +---------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/src/ewins.h b/src/ewins.h index 1cb31af7..78bcb781 100644 --- a/src/ewins.h +++ b/src/ewins.h @@ -515,7 +515,6 @@ EWin *const *EwinListStackGet(int *num); EWin *const *EwinListFocusGet(int *num); EWin *const *EwinListGetForDesk(int *num, Desk * d); EWin *const *EwinListOrderGet(int *num); -EWin *EwinListStackGetTop(void); int EwinListStackIsRaised(const EWin * ewin); #define EwinListGetAll EwinListStackGet diff --git a/src/stacking.c b/src/stacking.c index 1bebc2ea..776c783a 100644 --- a/src/stacking.c +++ b/src/stacking.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2020 Kim Woelders + * Copyright (C) 2004-2022 Kim Woelders * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -441,27 +441,6 @@ EobjListStackGetForDesk(int *num, Desk * dsk) return lst; } -#if 0 /* Unused */ -EWin * -EwinListStackGetTop(void) -{ - const EobjList *ewl; - int i; - EObj *eo; - - ewl = &EwinListStack; - - for (i = 0; i < ewl->nwins; i++) - { - eo = ewl->list[i]; - if (eo->type == EOBJ_TYPE_EWIN) - return (EWin *) eo; - } - - return NULL; -} -#endif - int EwinListStackIsRaised(const EWin * ewin) { --
