Replace Gtk::make_managed() with Gtk::manage()

Maintain compatibility with gtkmm 3.16.
This commit is contained in:
Lawrence Lee
2022-03-05 18:36:28 -08:00
parent 58f0783561
commit 329341f89f
4 changed files with 19 additions and 19 deletions

View File

@@ -671,7 +671,7 @@ EditorPanel::EditorPanel (FilePanel* filePanel)
queueimg->set_tooltip_markup (M ("MAIN_BUTTON_PUTTOQUEUE_TOOLTIP"));
setExpandAlignProperties (queueimg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_FILL);
send_to_external = Gtk::make_managed<PopUpButton>("", false);
send_to_external = Gtk::manage(new PopUpButton("", false));
send_to_external->set_tooltip_text(M("MAIN_BUTTON_SENDTOEDITOR_TOOLTIP"));
setExpandAlignProperties(send_to_external->buttonGroup, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_FILL);
send_to_external->addEntry("palette-brush.png", M("GENERAL_OTHER"));