From bd327c61eb3c59458b197e70f6c091d81dbde1ba Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sun, 19 Nov 2023 02:18:01 +0100 Subject: Simplify button shape handling --- src/button.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/button.c') diff --git a/src/button.c b/src/button.c index 6e0e263..3a4e311 100644 --- a/src/button.c +++ b/src/button.c @@ -2,11 +2,10 @@ #include "button.h" -Button *button_create(const char *text, bool fixed_size) +Button *button_create(const char *text) { Button *btn = g_malloc0(sizeof(Button)); btn->text = g_strdup(text); - btn->fixed_size = fixed_size; return btn; } -- cgit v1.2.3