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:
@@ -22,6 +22,7 @@
|
||||
|
||||
FavoritBrowser::FavoritBrowser () : listener (NULL)
|
||||
{
|
||||
set_orientation(Gtk::ORIENTATION_VERTICAL);
|
||||
|
||||
scrollw = Gtk::manage (new Gtk::ScrolledWindow ());
|
||||
scrollw->set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);
|
||||
@@ -66,7 +67,7 @@ FavoritBrowser::FavoritBrowser () : listener (NULL)
|
||||
del->set_valign(Gtk::ALIGN_START);
|
||||
del->set_image (*Gtk::manage (new RTImage ("remove-small.png")));
|
||||
del->get_style_context()->add_class("Right");
|
||||
Gtk::HBox* buttonBox = Gtk::manage (new Gtk::HBox ());
|
||||
Gtk::Box* buttonBox = Gtk::manage (new Gtk::Box ());
|
||||
buttonBox->pack_start (*add);
|
||||
buttonBox->pack_start (*del);
|
||||
|
||||
|
Reference in New Issue
Block a user