From 630be8274013c5eef5f19e19a14bc6d759aada5a Mon Sep 17 00:00:00 2001 From: Alexander Valavanis Date: Sun, 26 May 2019 16:11:07 +0100 Subject: Rm unused code now Gtk+ >= 3.22 dependency is set --- src/widgets/toolbox.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/widgets/toolbox.cpp') diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index e3b95fa2b..b3f25c764 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -798,15 +798,8 @@ void setup_aux_toolbox(GtkWidget *toolbox, SPDesktop *desktop) swatch->setDesktop( desktop ); swatch->setClickVerb( aux_toolboxes[i].swatch_verb_id ); swatch->setWatchedTool( aux_toolboxes[i].swatch_tool, true ); - -#if GTKMM_CHECK_VERSION(3,12,0) swatch->set_margin_start(AUX_BETWEEN_BUTTON_GROUPS); swatch->set_margin_end(AUX_BETWEEN_BUTTON_GROUPS); -#else - swatch->set_margin_left(AUX_BETWEEN_BUTTON_GROUPS); - swatch->set_margin_right(AUX_BETWEEN_BUTTON_GROUPS); -#endif - swatch->set_margin_top(AUX_SPACING); swatch->set_margin_bottom(AUX_SPACING); @@ -878,15 +871,8 @@ void setup_aux_toolbox(GtkWidget *toolbox, SPDesktop *desktop) swatch->setDesktop( desktop ); swatch->setClickVerb( aux_toolboxes[i].swatch_verb_id ); swatch->setWatchedTool( aux_toolboxes[i].swatch_tool, true ); - -#if GTKMM_CHECK_VERSION(3,12,0) swatch->set_margin_start(AUX_BETWEEN_BUTTON_GROUPS); swatch->set_margin_end(AUX_BETWEEN_BUTTON_GROUPS); -#else - swatch->set_margin_left(AUX_BETWEEN_BUTTON_GROUPS); - swatch->set_margin_right(AUX_BETWEEN_BUTTON_GROUPS); -#endif - swatch->set_margin_top(AUX_SPACING); swatch->set_margin_bottom(AUX_SPACING); -- cgit v1.2.3