summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/frame.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2019-05-26 15:11:07 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2019-05-26 15:11:07 +0000
commit630be8274013c5eef5f19e19a14bc6d759aada5a (patch)
tree6774d8db433426ab8361e18638869ad2336bf705 /src/ui/widget/frame.cpp
parentRename wrong named function (diff)
downloadinkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.tar.gz
inkscape-630be8274013c5eef5f19e19a14bc6d759aada5a.zip
Rm unused code now Gtk+ >= 3.22 dependency is set
Diffstat (limited to 'src/ui/widget/frame.cpp')
-rw-r--r--src/ui/widget/frame.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ui/widget/frame.cpp b/src/ui/widget/frame.cpp
index 34ed38eb7..eac4e221b 100644
--- a/src/ui/widget/frame.cpp
+++ b/src/ui/widget/frame.cpp
@@ -53,14 +53,8 @@ Frame::set_padding (guint padding_top, guint padding_bottom, guint padding_left,
{
child->set_margin_top(padding_top);
child->set_margin_bottom(padding_bottom);
-
-#if GTK_CHECK_VERSION(3,12,0)
child->set_margin_start(padding_left);
child->set_margin_end(padding_right);
-#else
- child->set_margin_left(padding_left);
- child->set_margin_right(padding_right);
-#endif
}
}