diff --git a/src/devicewidget.cc b/src/devicewidget.cc
index 1c34ea6..165a4b8 100644
a
|
b
|
DeviceWidget::DeviceWidget(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Buil |
63 | 63 | for (unsigned i = 0; i < PA_CHANNELS_MAX; i++) |
64 | 64 | channelWidgets[i] = NULL; |
65 | 65 | |
| 66 | #ifdef HAVE_GTK3 |
66 | 67 | offsetAdjustment = Gtk::Adjustment::create(0.0, -2000.0, 2000.0, 10.0, 50.0, 0.0); |
67 | 68 | offsetButton->configure(offsetAdjustment, 0, 2); |
| 69 | #endif |
68 | 70 | } |
69 | 71 | |
70 | 72 | void DeviceWidget::init(MainWindow* mainWindow, Glib::ustring deviceType) { |