From 7f5d92addb12bdd9c2210f3777f9d578685aeec0 Mon Sep 17 00:00:00 2001 From: deepend Date: Fri, 23 Jan 2026 21:09:21 -0700 Subject: [PATCH] Searched the requested GTK alignment usages across src/fe-gtk/ and found the #if HAVE_GTK3 branches were already in place for the gtk_misc_set_alignment() call sites; the remaining gap was an implicit #else around gtk_alignment_new() in setup_create_spin, which I made explicit as #elif !HAVE_GTK3 while keeping the GTK3 halign/valign branch intact. --- src/fe-gtk/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index faf7d5a3..73a1ef33 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -887,7 +887,7 @@ setup_create_spin (GtkWidget *table, int row, const setting *set) gtk_widget_set_valign (rbox, GTK_ALIGN_CENTER); gtk_table_attach (GTK_TABLE (table), rbox, 3, 4, row, row + 1, GTK_EXPAND | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0); -#else +#elif !HAVE_GTK3 align = gtk_alignment_new (0.0, 0.5, 0.0, 0.0); gtk_table_attach (GTK_TABLE (table), align, 3, 4, row, row + 1, GTK_EXPAND | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);