mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
font: remove unused font_buffer_update()
This commit is contained in:
parent
70421b1207
commit
6a750d465e
2 changed files with 0 additions and 19 deletions
|
|
@ -56,17 +56,6 @@ font_width(struct font *font, const char *string)
|
|||
return rectangle.width;
|
||||
}
|
||||
|
||||
void
|
||||
font_buffer_update(struct lab_data_buffer **buffer, int max_width,
|
||||
const char *text, struct font *font, float *color, double scale)
|
||||
{
|
||||
if (*buffer) {
|
||||
wlr_buffer_drop(&(*buffer)->base);
|
||||
*buffer = NULL;
|
||||
}
|
||||
font_buffer_create(buffer, max_width, text, font, color, scale);
|
||||
}
|
||||
|
||||
void
|
||||
font_buffer_create(struct lab_data_buffer **buffer, int max_width,
|
||||
const char *text, struct font *font, float *color, double scale)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue