button/common.c: share button_filename() to reduce duplication

This commit is contained in:
Johan Malm 2023-08-21 21:03:46 +01:00
parent 206db43786
commit 02036e0516
7 changed files with 38 additions and 24 deletions

View file

@ -4,6 +4,6 @@
struct lab_data_buffer;
void png_load(const char *filename, struct lab_data_buffer **buffer);
void png_load(const char *button_name, struct lab_data_buffer **buffer);
#endif /* LABWC_BUTTON_PNG_H */