src/nautilus-trash-bar.c: remove generic container

This is to prepare for the migration to GTK4.

https://gitlab.gnome.org/GNOME/nautilus/-/issues/1947
This commit is contained in:
Suhaas 2021-12-03 07:12:41 +05:30 committed by António Fernandes
parent 9f45773097
commit b7b475298c

View file

@ -241,10 +241,9 @@ nautilus_trash_bar_init (NautilusTrashBar *bar)
G_SETTINGS_BIND_GET);
gtk_widget_show (label);
gtk_container_add (GTK_CONTAINER (content_area), label);
gtk_container_add (GTK_CONTAINER (content_area), subtitle);
gtk_box_pack_start (GTK_BOX (content_area), label, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (content_area), subtitle, FALSE, FALSE, 0);
w = gtk_info_bar_add_button (GTK_INFO_BAR (bar),
_("_Settings"),
TRASH_BAR_RESPONSE_AUTODELETE);