Small fixes to Gtk::Grid::attach for compilation with gtkmm 3.22

This commit is contained in:
Thanatomanic
2021-02-25 17:49:05 +01:00
parent 6f9f81b057
commit 1214450aaa
4 changed files with 43 additions and 43 deletions

View File

@@ -36,10 +36,10 @@ RenameDialog::RenameDialog (Gtk::Window* parent)
newName->set_hexpand();
newName->set_halign(Gtk::ALIGN_FILL);
names->attach(*onlab, 0, 0);
names->attach(*oldName, 1, 0);
names->attach(*nnlab, 0, 1);
names->attach(*newName, 1, 1);
names->attach(*onlab, 0, 0, 1, 1);
names->attach(*oldName, 1, 0, 1, 1);
names->attach(*nnlab, 0, 1, 1, 1);
names->attach(*newName, 1, 1, 1, 1);
get_content_area()->pack_start (*names, Gtk::PACK_SHRINK, 4);