Replaces the following deprecated Gtk classes throughout the codebase by their non-deprecated counterparts. Style, HBox, VBox, HPaned, VPaned, HScrollbar, VScrollbar, VSeparator, HSeparator, Stock, Table, VScale and HScale.
This commit is contained in:
@@ -71,7 +71,7 @@ EditWindow::EditWindow (RTWindow* p) : resolution(RTScalable::baseDPI), parent(p
|
||||
|
||||
signal_key_press_event().connect(sigc::mem_fun(*this, &EditWindow::keyPressed));
|
||||
|
||||
Gtk::VBox* mainBox = Gtk::manage(new Gtk::VBox());
|
||||
Gtk::Box* mainBox = Gtk::manage(new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
|
||||
mainBox->pack_start(*mainNB);
|
||||
|
||||
add(*mainBox);
|
||||
@@ -215,7 +215,7 @@ void EditWindow::addEditorPanel (EditorPanel* ep, const std::string &name)
|
||||
ep->setParentWindow(this);
|
||||
|
||||
// construct closeable tab for the image
|
||||
Gtk::HBox* hb = Gtk::manage (new Gtk::HBox ());
|
||||
Gtk::Box* hb = Gtk::manage (new Gtk::Box ());
|
||||
hb->pack_start (*Gtk::manage (new RTImage ("aperture.png")));
|
||||
hb->pack_start (*Gtk::manage (new Gtk::Label (Glib::path_get_basename (name))));
|
||||
hb->set_tooltip_markup (name);
|
||||
|
Reference in New Issue
Block a user