summaryrefslogtreecommitdiffstats
path: root/src/ui/widget
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-01-02 10:27:41 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-01-02 10:27:41 +0000
commit555712c0db9d0b724828f45bd3ebc5f169405d9c (patch)
tree38f858a4dd46684ae3a1d10ac23f2aafd5d03720 /src/ui/widget
parentmodernize loops (2) (diff)
downloadinkscape-555712c0db9d0b724828f45bd3ebc5f169405d9c.tar.gz
inkscape-555712c0db9d0b724828f45bd3ebc5f169405d9c.zip
modernize: add overrides
Diffstat (limited to 'src/ui/widget')
-rw-r--r--src/ui/widget/button.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/button.h b/src/ui/widget/button.h
index ab559e4e6..0b1bfc200 100644
--- a/src/ui/widget/button.h
+++ b/src/ui/widget/button.h
@@ -51,8 +51,8 @@ private:
sigc::connection _on_clicked;
protected:
- virtual void get_preferred_width_vfunc(int &minimum_width, int &natural_width) const override;
- virtual void get_preferred_height_vfunc(int &minimum_height, int &natural_height) const override;
+ void get_preferred_width_vfunc(int &minimum_width, int &natural_width) const override;
+ void get_preferred_height_vfunc(int &minimum_height, int &natural_height) const override;
void on_clicked() override;
public:
@@ -67,7 +67,7 @@ public:
const gchar *name,
const gchar *tip);
- ~Button();
+ ~Button() override;
void toggle_set_down(bool down);
};