project: Adapt to GtkBox API changes

GtkBox provides a different API surface, such as gtk_box_append()
and gtk_box_prepend(), so switch to that.
This commit is contained in:
Georges Basile Stavracas Neto 2022-07-08 15:21:00 -03:00
parent 2d9b408a32
commit 631df4f1a5
4 changed files with 7 additions and 17 deletions

View file

@ -335,7 +335,7 @@ mct_carousel_add (GtkContainer *container,
}
gtk_widget_show_all (widget);
gtk_box_pack_start (GTK_BOX (self->last_box), widget, TRUE, FALSE, 10);
gtk_box_append (GTK_BOX (self->last_box), widget);
update_buttons_visibility (self);
}