Use more accessors

This commit is contained in:
Paul Dicker
2025-03-30 22:01:32 +02:00
committed by Stéphane Lesimple
parent eadbf54aae
commit e9b44a04f0
13 changed files with 28 additions and 28 deletions

View File

@@ -606,7 +606,7 @@ static void insert_button(GtkDialog *dialog)
{ GtkWidget *check,*align;
align = gtk_alignment_new(0.5, 0.5, 0.0, 0.0);
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), align, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))), align, FALSE, FALSE, 0);
check = gtk_check_button_new_with_label(_utf("Do not ask again"));
gtk_container_add(GTK_CONTAINER(align), check);