aboutsummaryrefslogtreecommitdiff
path: root/src/button.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/button.h')
-rw-r--r--src/button.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/button.h b/src/button.h
index 11b6507..7df70d3 100644
--- a/src/button.h
+++ b/src/button.h
@@ -10,12 +10,11 @@ typedef struct Button Button;
typedef void (* ButtonAction)(Button *btn);
struct Button {
- bool fixed_size;
ButtonAction action;
char *text;
};
-Button *button_create(const char *text, bool fixed_size);
+Button *button_create(const char *text);
void button_set_action(Button *btn, ButtonAction action);