diff options
author | David Robillard <d@drobilla.net> | 2020-11-29 11:44:45 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-29 11:53:37 +0100 |
commit | 29d31fd1a61e860c69a5a8b8b32156cea9075ae8 (patch) | |
tree | 314905f0d4ab832833718c85dc9a84d6a8bf05e5 /ganv/Box.hpp | |
parent | 35153978b8e168e86932b33e11b72661cdf3db21 (diff) | |
download | ganv-29d31fd1a61e860c69a5a8b8b32156cea9075ae8.tar.gz ganv-29d31fd1a61e860c69a5a8b8b32156cea9075ae8.tar.bz2 ganv-29d31fd1a61e860c69a5a8b8b32156cea9075ae8.zip |
Fix Wsuggest-override warnings
Diffstat (limited to 'ganv/Box.hpp')
-rw-r--r-- | ganv/Box.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ganv/Box.hpp b/ganv/Box.hpp index 1b95859..6ea0392 100644 --- a/ganv/Box.hpp +++ b/ganv/Box.hpp @@ -28,7 +28,6 @@ public: : Node(canvas, GANV_NODE(gobj)) {} - RW_PROPERTY(const char*, label) RW_PROPERTY(gboolean, beveled) METHODRET0(ganv_box, double, get_x1) @@ -39,7 +38,10 @@ public: METHOD1(ganv_box, set_width, double, width) METHODRET0(ganv_box, double, get_height) METHOD1(ganv_box, set_height, double, height) - METHODRET0(ganv_box, double, get_border_width) + + double get_border_width() const override { + return ganv_box_get_border_width(gobj()); + } GanvBox* gobj() { return GANV_BOX(_gobj); } const GanvBox* gobj() const { return GANV_BOX(_gobj); } |