diff options
Diffstat (limited to 'src/button.h')
| -rw-r--r-- | src/button.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/button.h b/src/button.h index 4f4285f..0fb821c 100644 --- a/src/button.h +++ b/src/button.h @@ -42,7 +42,8 @@ typedef struct { Button *button_simple_create(PangoAlignment align, Color color, Color line_color); -void button_simple_set_text(Button *btn, const char *text, Color text_color); +// Takes ownership of text +void button_simple_set_text(Button *btn, char *text, Color text_color); const char *button_simple_get_text(Button *btn); |
