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:
14
src/icon.c
14
src/icon.c
@@ -519,10 +519,6 @@ char *wIconStore(WIcon * icon)
|
|||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
void wIconChangeIconWindow(WIcon *icon, Window new_window);
|
|
||||||
*/
|
|
||||||
|
|
||||||
static void cycleColor(void *data)
|
static void cycleColor(void *data)
|
||||||
{
|
{
|
||||||
WIcon *icon = (WIcon *) data;
|
WIcon *icon = (WIcon *) data;
|
||||||
@@ -538,16 +534,6 @@ static void cycleColor(void *data)
|
|||||||
icon->handlerID = WMAddTimerHandler(COLOR_CYCLE_DELAY, cycleColor, icon);
|
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)
|
void wIconSelect(WIcon * icon)
|
||||||
{
|
{
|
||||||
WScreen *scr = icon->core->screen_ptr;
|
WScreen *scr = icon->core->screen_ptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user