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:
@@ -192,7 +192,7 @@ Crop::Crop():
|
||||
methodgrid->attach (*resetCrop, 2, 2, 2, 1);
|
||||
pack_start (*methodgrid, Gtk::PACK_EXPAND_WIDGET, 0 );
|
||||
|
||||
Gtk::HSeparator* methodseparator = Gtk::manage (new Gtk::HSeparator());
|
||||
Gtk::Separator* methodseparator = Gtk::manage (new Gtk::Separator(Gtk::ORIENTATION_HORIZONTAL));
|
||||
methodseparator->get_style_context()->add_class("grid-row-separator");
|
||||
pack_start (*methodseparator, Gtk::PACK_SHRINK, 0);
|
||||
|
||||
@@ -242,7 +242,7 @@ Crop::Crop():
|
||||
ppigrid->set_column_homogeneous (true);
|
||||
setExpandAlignProperties(ppigrid, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_CENTER);
|
||||
|
||||
Gtk::HSeparator* ppiseparator = Gtk::manage (new Gtk::HSeparator());
|
||||
Gtk::Separator* ppiseparator = Gtk::manage (new Gtk::Separator(Gtk::ORIENTATION_HORIZONTAL));
|
||||
ppiseparator->get_style_context()->add_class("grid-row-separator");
|
||||
|
||||
Gtk::Grid* ppisubgrid = Gtk::manage(new Gtk::Grid());
|
||||
|
Reference in New Issue
Block a user