1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 22:52:34 +01:00

Remove unused function wIconSetHighlited()

There is no point in carrying unused functions for so long.

Pointed out by Nicolas Bonifas.
This commit is contained in:
Carlos R. Mafra
2009-12-06 14:15:42 +01:00
parent 8c5a7b287a
commit 4c4d50c813

View File

@@ -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;