diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 15:11:07 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-26 15:11:07 +0000 |
| commit | 630be8274013c5eef5f19e19a14bc6d759aada5a (patch) | |
| tree | 6774d8db433426ab8361e18638869ad2336bf705 /src/ui/widget/style-swatch.cpp | |
| parent | Rename wrong named function (diff) | |
| download | inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.tar.gz inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.zip | |
Rm unused code now Gtk+ >= 3.22 dependency is set
Diffstat (limited to 'src/ui/widget/style-swatch.cpp')
| -rw-r--r-- | src/ui/widget/style-swatch.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ui/widget/style-swatch.cpp b/src/ui/widget/style-swatch.cpp index 97b801547..1d8da2091 100644 --- a/src/ui/widget/style-swatch.cpp +++ b/src/ui/widget/style-swatch.cpp @@ -125,14 +125,8 @@ StyleSwatch::StyleSwatch(SPCSSAttr *css, gchar const *main_tip) _label[i].set_valign(Gtk::ALIGN_CENTER); _label[i].set_margin_top(0); _label[i].set_margin_bottom(0); - -#if GTK_CHECK_VERSION(3,12,0) _label[i].set_margin_start(0); _label[i].set_margin_end(0); -#else - _label[i].set_margin_left(0); - _label[i].set_margin_right(0); -#endif _color_preview[i] = new Inkscape::UI::Widget::ColorPreview (0); } @@ -141,14 +135,8 @@ StyleSwatch::StyleSwatch(SPCSSAttr *css, gchar const *main_tip) _opacity_value.set_valign(Gtk::ALIGN_CENTER); _opacity_value.set_margin_top(0); _opacity_value.set_margin_bottom(0); - -#if GTK_CHECK_VERSION(3,12,0) _opacity_value.set_margin_start(0); _opacity_value.set_margin_end(0); -#else - _opacity_value.set_margin_left(0); - _opacity_value.set_margin_right(0); -#endif _table->set_column_spacing(2); _table->set_row_spacing(0); |
