gtkmm: use ALIGN_START instead of deprecated Gtk::AlignmentEnum::ALIGN_LEFT

This commit is contained in:
Mads Kiilerich 2022-01-26 22:19:32 +01:00 committed by Robin Gareus
parent 1390743d52
commit 2aa72891f3
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
31 changed files with 123 additions and 123 deletions

View file

@ -222,7 +222,7 @@ ScriptParameterDialog::ScriptParameterDialog (std::string title,
++ty;
if (_lsp.size () > 0) {
l = manage (new Label (_("<b>Instance Parameters</b>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
l = manage (new Label (_("<b>Instance Parameters</b>"), Gtk::ALIGN_START, Gtk::ALIGN_CENTER, false));
l->set_use_markup ();
t->attach (*l, 0, 2, ty, ty+1);
++ty;
@ -236,7 +236,7 @@ ScriptParameterDialog::ScriptParameterDialog (std::string title,
c->signal_toggled().connect (sigc::bind (sigc::mem_fun (*this, &ScriptParameterDialog::active_changed), i, c, e));
t->attach (*c, 0, 1, ty, ty+1);
} else {
Label* l = manage (new Label (_lsp[i]->title, Gtk::ALIGN_LEFT));
Label* l = manage (new Label (_lsp[i]->title, Gtk::ALIGN_START));
t->attach (*l, 0, 1, ty, ty+1);
}