summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-12 21:13:20 +0100
committerDavid Robillard <d@drobilla.net>2017-02-12 21:13:20 +0100
commit1c63b44ba213336cf5bc2d601a21530726837f4c (patch)
treeaa3842deea12259e8cfbdf67ffda62e97b1c64ad
parent518ab232b6db2b277fd691b64849533f3a8230b3 (diff)
downloadganv-1c63b44ba213336cf5bc2d601a21530726837f4c.tar.gz
ganv-1c63b44ba213336cf5bc2d601a21530726837f4c.tar.bz2
ganv-1c63b44ba213336cf5bc2d601a21530726837f4c.zip
Fix warnings
-rw-r--r--ganv/Box.hpp4
-rw-r--r--ganv/Canvas.hpp4
-rw-r--r--ganv/Circle.hpp6
3 files changed, 7 insertions, 7 deletions
diff --git a/ganv/Box.hpp b/ganv/Box.hpp
index 0083074..1b95859 100644
--- a/ganv/Box.hpp
+++ b/ganv/Box.hpp
@@ -28,8 +28,8 @@ public:
: Node(canvas, GANV_NODE(gobj))
{}
- RW_PROPERTY(const char*, label);
- RW_PROPERTY(gboolean, beveled);
+ RW_PROPERTY(const char*, label)
+ RW_PROPERTY(gboolean, beveled)
METHODRET0(ganv_box, double, get_x1)
METHODRET0(ganv_box, double, get_y1)
diff --git a/ganv/Canvas.hpp b/ganv/Canvas.hpp
index 529e144..8db1f66 100644
--- a/ganv/Canvas.hpp
+++ b/ganv/Canvas.hpp
@@ -114,10 +114,10 @@ public:
METHOD0(ganv_canvas, get_move_cursor);
METHOD2(ganv_canvas, move_contents_to, double, x, double, y);
- RW_PROPERTY(gboolean, locked);
+ RW_PROPERTY(gboolean, locked)
RW_PROPERTY(double, width)
RW_PROPERTY(double, height)
- RW_PROPERTY(GanvDirection, direction);
+ RW_PROPERTY(GanvDirection, direction)
void set_port_order(GanvPortOrderFunc port_cmp, void* data) {
ganv_canvas_set_port_order(gobj(), port_cmp, data);
diff --git a/ganv/Circle.hpp b/ganv/Circle.hpp
index f7d4a89..ab47669 100644
--- a/ganv/Circle.hpp
+++ b/ganv/Circle.hpp
@@ -66,9 +66,9 @@ public:
NULL)))
{}
- RW_PROPERTY(double, radius);
- RW_PROPERTY(double, radius_ems);
- RW_PROPERTY(gboolean, fit_label);
+ RW_PROPERTY(double, radius)
+ RW_PROPERTY(double, radius_ems)
+ RW_PROPERTY(gboolean, fit_label)
GanvCircle* gobj() { return GANV_CIRCLE(_gobj); }
const GanvCircle* gobj() const { return GANV_CIRCLE(_gobj); }