summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/color-slider.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ui/widget/color-slider.cpp b/src/ui/widget/color-slider.cpp
index d501e3724..fc64fad6f 100644
--- a/src/ui/widget/color-slider.cpp
+++ b/src/ui/widget/color-slider.cpp
@@ -297,9 +297,6 @@ void ColorSlider::set_adjustment(Gtk::Adjustment *adjustment) {
}
_adjustment = adjustment;
-#if !GTK_CHECK_VERSION(3,0,0)
- _adjustment->reference();
-#endif
_adjustment_changed_connection = _adjustment->signal_changed().connect(
sigc::mem_fun(this, &ColorSlider::_on_adjustment_changed));
_adjustment_value_changed_connection = _adjustment->signal_value_changed().connect(