summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/preferences-widget.cpp5
-rw-r--r--src/ui/widget/preferences-widget.h6
2 files changed, 0 insertions, 11 deletions
diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp
index 108d621c7..7e9335a8a 100644
--- a/src/ui/widget/preferences-widget.cpp
+++ b/src/ui/widget/preferences-widget.cpp
@@ -176,11 +176,6 @@ void PrefCheckButton::on_toggled()
}
}
-void PrefButton::init(Glib::ustring const &label)
-{
- this->set_label(label);
-}
-
void PrefRadioButton::init(Glib::ustring const &label, Glib::ustring const &prefs_path,
Glib::ustring const &string_value, bool default_value, PrefRadioButton* group_member)
{
diff --git a/src/ui/widget/preferences-widget.h b/src/ui/widget/preferences-widget.h
index 3c3c81020..5036a1c50 100644
--- a/src/ui/widget/preferences-widget.h
+++ b/src/ui/widget/preferences-widget.h
@@ -58,12 +58,6 @@ protected:
void on_toggled() override;
};
-class PrefButton : public Gtk::Button
-{
-public:
- void init(Glib::ustring const &label);
-};
-
class PrefRadioButton : public Gtk::RadioButton
{
public: