aboutsummaryrefslogtreecommitdiff
path: root/src/comet.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-16 18:29:19 +0100
committerFederico Angelilli <code@fedang.net>2024-03-16 18:29:19 +0100
commit6913ec943a1c71804ec81a9adbb19cfd899a202d (patch)
tree88d166a48eb3adc07280beef3d989f877b6f558a /src/comet.c
parente5cf2bb25fdec735240bf7d965db6f6ef694ccc0 (diff)
Store alignment correctly in compute_group_layout
Diffstat (limited to 'src/comet.c')
-rw-r--r--src/comet.c1
1 files changed, 0 insertions, 1 deletions
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);