summaryrefslogtreecommitdiffstats
path: root/src/extension/extension.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/extension/extension.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/extension/extension.cpp')
-rw-r--r--src/extension/extension.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp
index 9bbeabd45..a373e5ec0 100644
--- a/src/extension/extension.cpp
+++ b/src/extension/extension.cpp
@@ -685,11 +685,7 @@ public:
*/
void addWidget(Gtk::Widget *widg, gchar const *tooltip, int indent) {
if (widg) {
-#if GTK_CHECK_VERSION(3,12,0)
widg->set_margin_start(indent * Parameter::GUI_INDENTATION);
-#else
- widg->set_margin_left(indent * Parameter::GUI_INDENTATION);
-#endif
this->pack_start(*widg, false, false, 0);
if (tooltip) {
widg->set_tooltip_text(tooltip);