summaryrefslogtreecommitdiff
path: root/src/icons.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/icons.c')
-rw-r--r--src/icons.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/icons.c b/src/icons.c
index 6a04e7b..f4fde40 100644
--- a/src/icons.c
+++ b/src/icons.c
@@ -308,35 +308,6 @@ AddIconRegion(char *geom, int grav1, int grav2, int stepx, int stepy)
ir->entries->used = 0;
}
-#ifdef comment
-void
-FreeIconEntries(IconRegion *ir)
-{
- IconEntry *ie, *tmp;
-
- for (ie = ir->entries; ie; ie = tmp) {
- tmp = ie->next;
- free(ie);
- }
-}
-
-void
-FreeIconRegions(void)
-{
- IconRegion *ir;
-
- for (ir = Scr->FirstRegion; ir != NULL;) {
- IconRegion *tmp = ir;
-
- FreeIconEntries(ir);
- ir = ir->next;
- free(tmp);
- }
- Scr->FirstRegion = NULL;
- Scr->LastRegion = NULL;
-}
-#endif
-
void
CreateIconWindow(TwmWindow *tmp_win, int def_x, int def_y)
{