1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00

fix undeclared identifier

This commit is contained in:
Caio Freitas de Oliveira 2022-10-06 13:37:51 -03:00 committed by Brenden Matthews
parent 7833cf519b
commit ca56109dc9

View File

@ -403,6 +403,7 @@ int dpi_scale(int value) {
#endif /* BUILD_GUI */
}
#ifdef BUILD_GUI
conky::gradient_factory *create_gradient_factory(int width,
unsigned long first_colour,
unsigned long last_colour) {
@ -416,6 +417,7 @@ conky::gradient_factory *create_gradient_factory(int width,
}
return nullptr;
}
#endif /* BUILD_GUI */
/* formatted text to render on screen, generated in generate_text(),
* drawn in draw_stuff() */