mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user