Remove deprecated GTK3 code, fixes #6103 (#6113)

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:
Thanatomanic
2021-02-17 11:44:25 +01:00
committed by GitHub
parent a349d17b08
commit fc031ccb5a
119 changed files with 737 additions and 641 deletions

View File

@@ -170,7 +170,7 @@ private:
/* ==== LocallabColor ==== */
class LocallabColor:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool,
public ThresholdAdjusterListener
{
@@ -321,7 +321,7 @@ private:
/* ==== LocallabExposure ==== */
class LocallabExposure:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool
{
private:
@@ -433,7 +433,7 @@ private:
/* ==== LocallabShadow ==== */
class LocallabShadow:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool
{
private:
@@ -523,7 +523,7 @@ private:
/* ==== LocallabVibrance ==== */
class LocallabVibrance:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool,
public ThresholdAdjusterListener,
public ThresholdCurveProvider
@@ -615,13 +615,13 @@ private:
/* ==== LocallabSoft ==== */
class LocallabSoft:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool
{
private:
// Soft light specific widgets
MyComboBoxText* const softMethod;
Gtk::HBox* const ctboxsoftmethod;
Gtk::Box* const ctboxsoftmethod;
MyComboBoxText* const showmasksoftMethod;
Adjuster* const streng;
Adjuster* const laplace;
@@ -661,7 +661,7 @@ private:
/* ==== LocallabBlur ==== */
class LocallabBlur:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool,
public ThresholdAdjusterListener
// public ThresholdCurveProvider
@@ -764,7 +764,7 @@ private:
DiagonalCurveEditor* const Lmaskblshape;
CurveEditorGroup* const mask2blCurveEditorGwav;
FlatCurveEditor* const LLmaskblshapewav;
Gtk::HBox* const quaHBox;
Gtk::Box* const quaHBox;
ThresholdAdjuster* const csThresholdblur;
sigc::connection blMethodConn, fftwblConn, invblConn, medMethodConn, blurMethodConn, chroMethodConn, activlumConn, showmaskblMethodConn, showmaskblMethodtypConn, enablMaskConn, toolblConn;
@@ -824,7 +824,7 @@ private:
/* ==== LocallabTone ==== */
class LocallabTone:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool
{
private:
@@ -900,7 +900,7 @@ private:
/* ==== LocallabRetinex ==== */
class LocallabRetinex:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool
{
private:
@@ -1007,7 +1007,7 @@ private:
/* ==== LocallabSharp ==== */
class LocallabSharp:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool
{
private:
@@ -1052,7 +1052,7 @@ private:
/* ==== LocallabContrast ==== */
class LocallabContrast:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool,
public ThresholdAdjusterListener
@@ -1209,7 +1209,7 @@ private:
/* ==== LocallabCBDL ==== */
class LocallabCBDL:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool
{
private:
@@ -1289,7 +1289,7 @@ private:
/* ==== LocallabLog ==== */
class LocallabLog:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool
{
private:
@@ -1305,7 +1305,7 @@ private:
Adjuster* const sourceGray;
Adjuster* const sourceabs;
MyComboBoxText* const sursour;
Gtk::HBox* const surHBox;
Gtk::Box* const surHBox;
Gtk::Frame* const log1Frame;
Gtk::Frame* const log2Frame;
Adjuster* const targetGray;
@@ -1322,7 +1322,7 @@ private:
DiagonalCurveEditor* const LshapeL;
Adjuster* const targabs;
MyComboBoxText* const surround;
Gtk::HBox* const surrHBox;
Gtk::Box* const surrHBox;
Adjuster* const baselog;
MyExpander* const exprecovl;
@@ -1398,7 +1398,7 @@ private:
/* ==== LocallabMask ==== */
class LocallabMask:
public Gtk::VBox,
public Gtk::Box,
public LocallabTool,
public ThresholdAdjusterListener
{