From 6913ec943a1c71804ec81a9adbb19cfd899a202d Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sat, 16 Mar 2024 18:29:19 +0100 Subject: Store alignment correctly in compute_group_layout --- src/comet.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/comet.c') diff --git a/src/comet.c b/src/comet.c index 019444a..75175e5 100644 --- a/src/comet.c +++ b/src/comet.c @@ -354,7 +354,6 @@ int main(int argc, char **argv) State *state; } menu_ctx = { (gpointer)group, {"", ""}, NULL, state }; - // XXX: If the alignment of the group and menu button are not equal something strange happens Button *menu = button_simple_create(PANGO_ALIGN_LEFT, color); button_simple_set_text(menu, g_strdup(menu_ctx.strings[0]), text_color); button_simple_set_action(menu, menu_action, &menu_ctx); -- cgit v1.2.3