diff options
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); |
