mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-05 05:28:32 +00:00
fix undeclared identifier
This commit is contained in:
parent
7833cf519b
commit
ca56109dc9
@ -403,6 +403,7 @@ int dpi_scale(int value) {
|
|||||||
#endif /* BUILD_GUI */
|
#endif /* BUILD_GUI */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef BUILD_GUI
|
||||||
conky::gradient_factory *create_gradient_factory(int width,
|
conky::gradient_factory *create_gradient_factory(int width,
|
||||||
unsigned long first_colour,
|
unsigned long first_colour,
|
||||||
unsigned long last_colour) {
|
unsigned long last_colour) {
|
||||||
@ -416,6 +417,7 @@ conky::gradient_factory *create_gradient_factory(int width,
|
|||||||
}
|
}
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
#endif /* BUILD_GUI */
|
||||||
|
|
||||||
/* formatted text to render on screen, generated in generate_text(),
|
/* formatted text to render on screen, generated in generate_text(),
|
||||||
* drawn in draw_stuff() */
|
* drawn in draw_stuff() */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user