From 4c4d50c813f8fbb3faa8801106fb9514e864edea Mon Sep 17 00:00:00 2001 From: "Carlos R. Mafra" Date: Sun, 6 Dec 2009 14:15:42 +0100 Subject: [PATCH] Remove unused function wIconSetHighlited() There is no point in carrying unused functions for so long. Pointed out by Nicolas Bonifas. --- src/icon.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/icon.c b/src/icon.c index 32202fd5..79d82920 100644 --- a/src/icon.c +++ b/src/icon.c @@ -519,10 +519,6 @@ char *wIconStore(WIcon * icon) return path; } -/* -void wIconChangeIconWindow(WIcon *icon, Window new_window); -*/ - static void cycleColor(void *data) { WIcon *icon = (WIcon *) data; @@ -538,16 +534,6 @@ static void cycleColor(void *data) icon->handlerID = WMAddTimerHandler(COLOR_CYCLE_DELAY, cycleColor, icon); } -void wIconSetHighlited(WIcon * icon, Bool flag) -{ - if (icon->highlighted == flag) { - return; - } - - icon->highlighted = flag; - wIconPaint(icon); -} - void wIconSelect(WIcon * icon) { WScreen *scr = icon->core->screen_ptr; -- 2.11.4.GIT